diff options
author | Evils <evils.devils@protonmail.com> | 2021-05-22 13:58:17 +0200 |
---|---|---|
committer | Evils <evils.devils@hotmail.com> | 2021-11-02 09:24:31 +0100 |
commit | 9cb2107476fae32339817689de1eae1a53d686c9 (patch) | |
tree | ee398a6d13acaee7dd945207ca4dae6a57312730 /nixos/modules | |
parent | b165ce0c4efbb74246714b5c66b6bcdce8cde175 (diff) | |
download | nixpkgs-9cb2107476fae32339817689de1eae1a53d686c9.tar nixpkgs-9cb2107476fae32339817689de1eae1a53d686c9.tar.gz nixpkgs-9cb2107476fae32339817689de1eae1a53d686c9.tar.bz2 nixpkgs-9cb2107476fae32339817689de1eae1a53d686c9.tar.lz nixpkgs-9cb2107476fae32339817689de1eae1a53d686c9.tar.xz nixpkgs-9cb2107476fae32339817689de1eae1a53d686c9.tar.zst nixpkgs-9cb2107476fae32339817689de1eae1a53d686c9.zip |
nixos/fancontrol: restart on-failure
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/hardware/fancontrol.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/fancontrol.nix b/nixos/modules/services/hardware/fancontrol.nix index 5574c5a132e..861b70970b8 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}"; }; }; |