blob: 6f00ad870b635460384001412fc68a33f7afea0b [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 Grey5c0262a2022-05-18 21:59:26 +010012sudo nixos-rebuild switch --impure --flake .#default $1