From 32d737f011b3d5850596123b52e73882ad15c3eb Mon Sep 17 00:00:00 2001 From: blake Date: Wed, 5 Nov 2025 22:16:51 -0600 Subject: [PATCH] attempt to use suspend then hibrnate again --- hosts/nixos/yveltal/configuration.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/hosts/nixos/yveltal/configuration.nix b/hosts/nixos/yveltal/configuration.nix index 2842eb9..9589304 100644 --- a/hosts/nixos/yveltal/configuration.nix +++ b/hosts/nixos/yveltal/configuration.nix @@ -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; }