attempt to use suspend then hibrnate again

This commit is contained in:
2025-11-05 22:16:51 -06:00
parent 7f84ae360c
commit 32d737f011

View File

@@ -43,11 +43,11 @@
# fix power buttons # fix power buttons
services.logind.settings.Login = { services.logind.settings.Login = {
HandlePowerKey = "suspend"; #HandlePowerKey = "suspend";
HandleLidSwitch = "suspend"; #HandleLidSwitch = "suspend";
#HandlePowerKey = "suspend-then-hibernate"; HandlePowerKey = "suspend-then-hibernate";
#HandleLidSwitch = "suspend-then-hibernate"; HandleLidSwitch = "suspend-then-hibernate";
#HibernateDelaySec = "300"; HibernateDelaySec = "1800";
}; };
# boot (systemd is growing on me) # boot (systemd is growing on me)
@@ -98,8 +98,6 @@
# hardware shit # hardware shit
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }