rebuild change
This commit is contained in:
@@ -4,7 +4,6 @@ set -e
|
||||
|
||||
if git diff --quiet '*.nix'; then
|
||||
echo "No changes detected, exiting"
|
||||
popd
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -24,6 +23,4 @@ current=$(nixos-rebuild list-generations --json | jq '.[] | select (.current ==
|
||||
|
||||
git commit -am "$current"
|
||||
|
||||
popd
|
||||
|
||||
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
|
||||
|
||||
Reference in New Issue
Block a user