blob: a50ae8e8b35f6fe15e04db45c58c57637479d489 [file] [log] [blame]
#!/bin/env bash
cd /home/minion/Nix
git add .
if [[ $(git diff --stat HEAD) != '' ]]; then
read -ep "What did you change?: " changes
/usr/bin/env git commit -am "$changes"
fi
sudo nixos-rebuild switch --flake .#default $1