From af686d90be80b8ff04ff528f8119bbe36cc403c0 Mon Sep 17 00:00:00 2001 From: ska Date: Mon, 22 Dec 2025 15:24:22 +0000 Subject: [PATCH] Update configuration.nix --- configuration.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index c655839..698dc10 100644 --- a/configuration.nix +++ b/configuration.nix @@ -221,7 +221,6 @@ services.udev.extraRules = '' # Match the root filesystem device by label (or use PARTLABEL/UUID if preferred) KERNEL=="sd*", ENV{ID_FS_LABEL}=="nixos-root", SYMLINK+="nixos-root-device" - # Trigger when the root device is removed ACTION=="remove", KERNEL=="sd*", ENV{ID_FS_LABEL}=="nixos-root", RUN+="/run/current-system/sw/bin/systemctl poweroff" '';