diff --git a/hosts/canopus/default.nix b/hosts/canopus/default.nix index 61d8a74..b85d68e 100755 --- a/hosts/canopus/default.nix +++ b/hosts/canopus/default.nix @@ -176,6 +176,26 @@ libinput.touchpad.naturalScrolling = true; }; + # To use Auto-cpufreq we need to + # disable TLP because it's enabled by nixos-hardware + tlp.enable = false; + auto-cpufreq = { + enable = true; + settings = { + battery = { + governor = "powersave"; + turbo = "never"; + scaling_min_freq = 400000; + scaling_max_freq = 2800000; + }; + charger = { + governor = "powersave"; + turbo = "never"; + scaling_max_freq = 3300000; + }; + }; + }; + blueman.enable = true; supergfxd = {