Add fancontrol

This commit is contained in:
Sparky
2025-10-29 13:48:08 +01:00
parent a2415fa856
commit f5548027f0

View File

@@ -220,6 +220,7 @@ in
git
lazydocker
lazygit
lm_sensors
nixfmt-rfc-style
nodejs_20
tmux
@@ -228,6 +229,19 @@ in
vim
];
# Enable fan control
services.thermald.enable = true;
hardware.sensor.iio.enable = true;
# Start fancontrol service
systemd.services.fancontrol = {
description = "Fan speed regulator";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.lm_sensors}/bin/fancontrol";
};
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;