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