diff options
Diffstat (limited to 'profiles/laptop.nix')
-rw-r--r-- | profiles/laptop.nix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix deleted file mode 100644 index 9ae1742..0000000 --- a/profiles/laptop.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs, config, lib, ... }: -{ - imports = [ - ./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"; - - # Keep charge between 60% and 80% to preserve battery life - START_CHARGE_THRESH_BAT0 = 60; - STOP_CHARGE_THRESH_BAT0 = 80; - }; -} |