diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-07 09:08:43 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-07 09:08:43 -0700 |
commit | adca4cf7d99908e7d4555e6d2d60eefaeeaf95b5 (patch) | |
tree | 4e137bac57919bbc525523f0bac4ff7a4977440d | |
parent | profiles/xps9300: add more settings (diff) | |
download | world-adca4cf7d99908e7d4555e6d2d60eefaeeaf95b5.tar.gz |
profiles/laptop: more tweaks
Diffstat (limited to '')
-rw-r--r-- | profiles/laptop.nix | 3 |
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"; |