From 9b15ec3f9ba7c9e53e2fa8d35732414013999c32 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Fri, 15 May 2026 15:44:56 +0200 Subject: [PATCH] snapshot pre-autoupdate-2026-05-15T13-44-56Z --- hostsModules/laptop/scripts/autoUpdate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostsModules/laptop/scripts/autoUpdate.nix b/hostsModules/laptop/scripts/autoUpdate.nix index b1e2be1..5828ede 100644 --- a/hostsModules/laptop/scripts/autoUpdate.nix +++ b/hostsModules/laptop/scripts/autoUpdate.nix @@ -31,7 +31,7 @@ pkgs.writeShellApplication { if sudo nixos-rebuild switch --flake "$FLAKE" 2> "$ERROR_FILE"; then - if ! git -C "$FLAKE_DIR" diff --quiet; then + if ! git -C "$FLAKE_DIR" diff --quiet -- flake.lock; then git -C "$FLAKE_DIR" add flake.lock git -C "$FLAKE_DIR" commit -m "flake.lock: autoupdate-$TIME" git -C "$FLAKE_DIR" push