From 2bcab09f02bc73dd1642e22e941d38aabb0724aa Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Thu, 26 May 2022 18:58:01 +0100 Subject: [PATCH] back --- hosts/pingbox/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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