From 543fcc38c9c48349d6988b1ace119f0cef2d6efa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 9 Dec 2023 09:15:23 -0800 Subject: delete even more unused configurations --- profiles/laptop.nix | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 profiles/laptop.nix (limited to 'profiles/laptop.nix') 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; - }; -} -- cgit v1.2.3