diff --git a/hosts/pingbox/configuration.nix b/hosts/pingbox/configuration.nix index c733687..c1df13a 100644 --- a/hosts/pingbox/configuration.nix +++ b/hosts/pingbox/configuration.nix @@ -43,8 +43,16 @@ tapping = true; }; }; + + logind = { + lidSwitch = "suspend-then-hibernate"; + }; }; + systemd.sleep.extraConfig = '' + HibernameDelaySec=3600 + ''; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave