blob: 08ab41f00f16c37cfc2d6f3554417e63743dbddb [file] [log] [blame]
Skyler Grey4e10d632022-05-18 21:55:27 +01001#!/bin/sh
2
Skyler Grey4bbb5132022-05-31 23:14:33 +01003cd /home/minion/Nix
Skyler Grey4e10d632022-05-18 21:55:27 +01004
5git add .
6
7if [[ $(git diff --stat HEAD) != '' ]]; then
8 read -ep "What did you change?: " changes
9 /usr/bin/env git commit -am "$changes"
10fi
11
Skyler Greyc7213502022-05-21 21:12:24 +010012sudo nixos-rebuild switch --flake .#default $1