Skyler Turner | 138b6f7 | 2022-03-04 22:35:15 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | cd "$(dirname ${BASH_SOURCE[0]})/.." | ||||
4 | |||||
5 | if [[ $(git diff --stat) != '' ]]; then | ||||
6 | read -ep "What did you change?: " changes | ||||
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 7 | git add . |
Skyler Turner | 138b6f7 | 2022-03-04 22:35:15 +0000 | [diff] [blame] | 8 | /bin/env git commit -am "$changes" |
9 | fi | ||||
10 | |||||
11 | nix build .#homeManagerConfigurations.minion.activationPackage $1 --impure | ||||
12 | ./result/activate | ||||
13 | unlink ./result |