From 0598236822c8ac36f8028c89d4b79f4f6b251a72 Mon Sep 17 00:00:00 2001 From: tzlil Date: Fri, 21 Apr 2023 15:22:47 +0300 Subject: dont rememeber --- hosts/laptop/cfg.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'hosts/laptop') 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"; + }; + }; }; } -- cgit 1.4.1