summary refs log tree commit diff
path: root/nixos/modules/services/hardware/fancontrol.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/hardware/fancontrol.nix')
-rw-r--r--nixos/modules/services/hardware/fancontrol.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/fancontrol.nix b/nixos/modules/services/hardware/fancontrol.nix
index bb4541a784d..e1ce11a5aef 100644
--- a/nixos/modules/services/hardware/fancontrol.nix
+++ b/nixos/modules/services/hardware/fancontrol.nix
@@ -12,7 +12,7 @@ in{
 
     config = mkOption {
       default = null;
-      type = types.lines;
+      type = types.nullOr types.lines;
       description = "Fancontrol configuration file content. See <citerefentry><refentrytitle>pwmconfig</refentrytitle><manvolnum>8</manvolnum></citerefentry> from the lm_sensors package.";
       example = ''
         # Configuration file generated by pwmconfig