attempt to use suspend then hibrnate again
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user