Add fancontrol
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sparky
					Sparky