nixos: gen 13 @ lilac — 2026-08-22 15:02 26.05.20260814.02e0898 (Yarara) -----

This commit is contained in:
2026-08-22 15:02:33 -06:00
parent 28e071453e
commit 52a462e8e2
5 changed files with 47 additions and 32 deletions
+25
View File
@@ -22,4 +22,29 @@
}];
networking.firewall.interfaces."thunderbolt0".allowedUDPPorts = [ 4242 ];
services.tlp = {
enable = true;
settings = {
USB_AUTOSUSPEND = 0;
# AC
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
SOUND_POWER_SAVE_ON_AC = 0;
PCIE_ASPM_ON_AC = "default";
CPU_BOOST_ON_BAT = 0;
# Battery
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
SOUND_POWER_SAVE_ON_BAT = 1;
PCIE_ASPM_ON_BAT = "powersupersave";
CPU_BOOST_ON_AC = 1;
# Battery Thresholds
START_CHARGE_THRESH_BAT0 = 40;
STOP_CHARGE_THRESH_BAT0 = 80;
};
};
}