powertop + update

This commit is contained in:
2024-10-05 22:41:06 -04:00
parent 0b9a67ee2b
commit 2cb40a775c
2 changed files with 8 additions and 21 deletions

View File

@@ -26,6 +26,8 @@
hybrid-sleep.enable = false;
};
powerManagement.powertop.enable = true;
nix = {
#garbage collection and cleanup stuff
gc = {
@@ -183,21 +185,6 @@
services.udev.packages = [ pkgs.openrgb-with-all-plugins ];
hardware.i2c.enable = true;
hardware.fancontrol = {
enable = true;
config = ''
INTERVAL=10
DEVPATH=hwmon0=devices/pci0000:00/0000:00:18.3 hwmon1=devices/platform/nct6775.656
DEVNAME=hwmon0=zenpower hwmon1=nct6798
FCTEMPS=hwmon1/pwm4=hwmon0/temp1_input hwmon1/pwm2=hwmon0/temp1_input
FCFANS=hwmon1/pwm4=hwmon1/fan4_input hwmon1/pwm2=hwmon1/fan2_input
MINTEMP=hwmon1/pwm4=20 hwmon1/pwm2=20
MAXTEMP=hwmon1/pwm4=70 hwmon1/pwm2=70
MINSTART=hwmon1/pwm4=150 hwmon1/pwm2=150
MINSTOP=hwmon1/pwm4=100 hwmon1/pwm2=100
'';
};
networking = {
nameservers = [
"1.1.1.1"