Skip to content
On this page

Updated at:

Nix โ€‹

Linux

The CoolerControl package is available in both the stable and unstable Nix channels.

For NixOS there is a configuration option that installs the application and enables the services:

nix
programs.coolercontrol.enable = true;

There is also an option for NVIDIA GPUs. This should default to on if you have the NVIDIA driver in services.xserver.videoDrivers:

nix
programs.coolercontrol.nvidiaSupport = true;

If you're using the Nix package manager on a non-NixOS distribution, you'll need to install the package and enable the service manually. For example:

bash
# Recommended (nix profile)
nix profile install nixpkgs#coolercontrol

# Alternatively, using legacy nix-env
nix-env -iA nixpkgs.coolercontrol

# Enable and start the daemon (system-wide)
sudo systemctl enable --now ~/.nix-profile/lib/systemd/system/coolercontrold.service

Optional packages:

bash
# Sensors support
nix profile install nixpkgs#lm_sensors

# USB AIOs and fan hubs
nix profile install nixpkgs#liquidctl

โš ๏ธ On non-NixOS, enabling from the profile ties the service to the currently installed version. After each upgrade, disable and re-enable the service so it points to the new path. systemctl reenable typically does not work in this scenario.

Released under the GPLv3+ License.