diff options
| -rw-r--r-- | modules/laptop.nix | 4 | ||||
| -rw-r--r-- | modules/plasma.nix | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/laptop.nix b/modules/laptop.nix index 092e61f..3dfdd29 100644 --- a/modules/laptop.nix +++ b/modules/laptop.nix @@ -1,7 +1,7 @@ { pkgs, config, ... }: { - /* services.tlp = { + services.tlp = { enable = true; settings = { CPU_SCALING_GOVERNOR_ON_AC = "performance"; @@ -10,7 +10,7 @@ CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; }; - }; */ + }; boot = { kernelModules = [ "acpi_call" ]; diff --git a/modules/plasma.nix b/modules/plasma.nix index ea06802..d7910dc 100644 --- a/modules/plasma.nix +++ b/modules/plasma.nix @@ -16,4 +16,6 @@ baloo-widgets krdp ]; + + services.power-profiles-daemon.enable = false; } |
