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; }