about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profiles/laptop.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix
index 7fd5b98..9ae1742 100644
--- a/profiles/laptop.nix
+++ b/profiles/laptop.nix
@@ -4,10 +4,11 @@
     ./workstation.nix
   ];
 
+  services.logind.lidSwitch = "suspend-then-hibernate";
+  services.upower.enable = true;
   services.thermald.enable = true;
 
   services.tlp.enable = true;
-
   services.tlp.settings = {
     CPU_SCALING_GOVERNOR_ON_AC = "performance";
     CPU_SCALING_GOVERNOR_ON_BAT = "powersave";