blob: bee1c4b75d07d3d498ede75364197cc9ad1f03ad [file] [log] [blame]
#!/bin/sh
cd "$(dirname ${BASH_SOURCE[0]})/.."
if [[ $(git diff --stat) != '' ]]; 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