blob: 08ab41f00f16c37cfc2d6f3554417e63743dbddb [file] [log] [blame]
#!/bin/sh
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