Add fancontrol
This commit is contained in:
		| @@ -220,6 +220,7 @@ in | |||||||
|     git |     git | ||||||
|     lazydocker |     lazydocker | ||||||
|     lazygit |     lazygit | ||||||
|  |     lm_sensors | ||||||
|     nixfmt-rfc-style |     nixfmt-rfc-style | ||||||
|     nodejs_20 |     nodejs_20 | ||||||
|     tmux |     tmux | ||||||
| @@ -228,6 +229,19 @@ in | |||||||
|     vim |     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 |   # Some programs need SUID wrappers, can be configured further or are | ||||||
|   # started in user sessions. |   # started in user sessions. | ||||||
|   # programs.mtr.enable = true; |   # programs.mtr.enable = true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sparky
					Sparky