blob: 5ed1b56f0c5bcc39b31e8764804f20bf5193f3ba [file] [log] [blame]
#!/bin/sh
cd "$(dirname ${BASH_SOURCE[0]})/.."
if [[ $(git diff --stat) != '' ]]; then
read -ep "What did you change?: " changes
git add .
/bin/env git commit -am "$changes"
fi
nix build .#homeManagerConfigurations.minion.activationPackage $1 --impure
./result/activate
unlink ./result