diff options
Diffstat (limited to 'hosts/laptop/cfg.nix')
-rw-r--r-- | hosts/laptop/cfg.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/laptop/cfg.nix b/hosts/laptop/cfg.nix index 3fb53d0..e7042df 100644 --- a/hosts/laptop/cfg.nix +++ b/hosts/laptop/cfg.nix @@ -102,5 +102,21 @@ driSupport = true; driSupport32Bit = true; }; + + networking.firewall.allowedTCPPorts = [25565]; + + services = { + power-profiles-daemon.enable = true; + thermald.enable = true; + }; + + services.tlp = { + settings = { + CPU_BOOST_ON_AC = 1; + CPU_BOOST_ON_BAT = 0; + CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + }; + }; }; } |