diff --git a/nixos/modules/services/hardware/fancontrol.nix b/nixos/modules/services/hardware/fancontrol.nix index 5574c5a132e5..861b70970b87 100644 --- a/nixos/modules/services/hardware/fancontrol.nix +++ b/nixos/modules/services/hardware/fancontrol.nix @@ -38,6 +38,7 @@ in after = [ "lm_sensors.service" ]; serviceConfig = { + Restart = "on-failure"; ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}"; }; };