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