powertop + update
This commit is contained in:
parent
0b9a67ee2b
commit
2cb40a775c
@ -26,6 +26,8 @@
|
|||||||
hybrid-sleep.enable = false;
|
hybrid-sleep.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
powerManagement.powertop.enable = true;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
#garbage collection and cleanup stuff
|
#garbage collection and cleanup stuff
|
||||||
gc = {
|
gc = {
|
||||||
@ -183,21 +185,6 @@
|
|||||||
services.udev.packages = [ pkgs.openrgb-with-all-plugins ];
|
services.udev.packages = [ pkgs.openrgb-with-all-plugins ];
|
||||||
hardware.i2c.enable = true;
|
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 = {
|
networking = {
|
||||||
nameservers = [
|
nameservers = [
|
||||||
"1.1.1.1"
|
"1.1.1.1"
|
||||||
|
|||||||
12
flake.lock
generated
12
flake.lock
generated
@ -58,11 +58,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727665282,
|
"lastModified": 1728056216,
|
||||||
"narHash": "sha256-oKtfbQB1MBypqIyzkC8QCQcVGOa1soaXaGgcBIoh14o=",
|
"narHash": "sha256-IrO06gFUDTrTlIP3Sz+mRB6WUoO2YsgMtOD3zi0VEt0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "11c43c830e533dad1be527ecce379fcf994fbbb5",
|
"rev": "b7ca02c7565fbf6d27ff20dd6dbd49c5b82eef28",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -74,11 +74,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727802920,
|
"lastModified": 1728018373,
|
||||||
"narHash": "sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs=",
|
"narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
|
"rev": "bc947f541ae55e999ffdb4013441347d83b00feb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user