snapshot pre-autoupdate-2026-05-18T07-51-24Z

This commit is contained in:
2026-05-18 09:51:24 +02:00
parent 1fb9eefea5
commit 876f32b8c3
@@ -30,6 +30,7 @@ pkgs.writeShellApplication {
nix flake update --flake "$FLAKE_DIR" nix flake update --flake "$FLAKE_DIR"
which nixos-rebuild which nixos-rebuild
which /run/current/system/sw/bin/nixos-rebuild
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 /run/current/system/sw/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