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