attempt to use suspend then hibrnate again
This commit is contained in:
@@ -43,11 +43,11 @@
|
||||
|
||||
# fix power buttons
|
||||
services.logind.settings.Login = {
|
||||
HandlePowerKey = "suspend";
|
||||
HandleLidSwitch = "suspend";
|
||||
#HandlePowerKey = "suspend-then-hibernate";
|
||||
#HandleLidSwitch = "suspend-then-hibernate";
|
||||
#HibernateDelaySec = "300";
|
||||
#HandlePowerKey = "suspend";
|
||||
#HandleLidSwitch = "suspend";
|
||||
HandlePowerKey = "suspend-then-hibernate";
|
||||
HandleLidSwitch = "suspend-then-hibernate";
|
||||
HibernateDelaySec = "1800";
|
||||
};
|
||||
|
||||
# boot (systemd is growing on me)
|
||||
@@ -98,8 +98,6 @@
|
||||
|
||||
|
||||
# hardware shit
|
||||
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user