Enable system76 hardware settings
Remove tlp in case there are conflicts.
This commit is contained in:
parent
3c7aa3f03e
commit
0d4f919898
|
@ -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
|
||||
'';
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue