blob: 1eddeb90bbf8e28c320e97037de73356e4093e05 [file] [log] [blame]
Skyler Grey4e10d632022-05-18 21:55:27 +01001#!/bin/sh
2
3cd "$(dirname ${BASH_SOURCE[0]})/.."
4
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