snapshot pre-autoupdate-2026-07-26T13-01-03Z

This commit is contained in:
2026-07-26 15:01:03 +02:00
parent 35542be154
commit e672a99d95
+1 -2
View File
@@ -107,7 +107,6 @@
curl curl
libnotify libnotify
nix nix
sudo
]; ];
text = '' text = ''
@@ -129,7 +128,7 @@
# update lock only # update lock only
nix flake update --flake "$FLAKE_DIR" nix flake update --flake "$FLAKE_DIR"
if sudo /run/current-system/sw/bin/nixos-rebuild switch --flake "$FLAKE" 2> "$ERROR_FILE"; then # use /run/.../bin/ uses the sudoless rule if sudo ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake "$FLAKE" 2> "$ERROR_FILE"; then # use /run/.../bin/ uses the sudoless rule
if ! git -C "$FLAKE_DIR" diff --quiet -- flake.lock; then if ! git -C "$FLAKE_DIR" diff --quiet -- flake.lock; then
git -C "$FLAKE_DIR" add flake.lock git -C "$FLAKE_DIR" add flake.lock