From b05c6d8c30f6b6a3148b46e938f7d0545fd9afd8 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Sat, 10 Jan 2026 19:05:05 -0800 Subject: [PATCH] fix(nix-book): Remove suspend-then-hibernate lid behavior --- machines/nix-book/configuration.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/machines/nix-book/configuration.nix b/machines/nix-book/configuration.nix index dd07c54..7bbec9f 100644 --- a/machines/nix-book/configuration.nix +++ b/machines/nix-book/configuration.nix @@ -41,14 +41,9 @@ boot.initrd.luks.devices."luks-b614167b-9045-4234-a441-ac6f60a96d81".device = "/dev/disk/by-uuid/b614167b-9045-4234-a441-ac6f60a96d81"; services.logind.settings.Login = { - HandleLidSwitch = "suspend-then-hibernate"; HandlePowerKey = "hibernate"; HandlePowerKeyLongPress = "poweroff"; }; - systemd.sleep.extraConfig = '' - HibernateDelaySec=30m - SuspendState=mem - ''; networking.hostName = "nix-book"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.