Enable system76 hardware settings

Remove tlp in case there are conflicts.
This commit is contained in:
Oliver Davies 2024-11-07 20:38:09 +00:00
parent 3c7aa3f03e
commit 0d4f919898
2 changed files with 2 additions and 14 deletions

View file

@ -46,20 +46,6 @@ in
services.thermald.enable = true;
services.power-profiles-daemon.enable = false;
services.tlp = {
enable = true;
settings = {
PCIE_ASPM_ON_BAT = "powersupersave";
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_MAX_PERF_ON_AC = "95";
CPU_MAX_PERF_ON_BAT = "50";
STOP_CHARGE_THRESH_BAT1 = "95";
STOP_CHARGE_THRESH_BAT0 = "95";
};
};
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';

View file

@ -30,6 +30,8 @@
boot.kernelPackages = pkgs.linuxPackages_zen;
hardware.enableAllFirmware = true;
hardware.system76.enableAll = true;
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";