diff options
author | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-20 20:05:26 +0200 |
---|---|---|
committer | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-21 08:55:36 +0200 |
commit | 0412bde9423cbc26d68d1d744b22ec4e45bcbac8 (patch) | |
tree | b311635212d83efe027bf39184008959f48e12c1 /nixos/modules/services/misc/autofs.nix | |
parent | 3bbd074217cd11b6e14abec24655091b83aacc6f (diff) |
treewide: add bool type to enable options, or make use of mkEnableOption
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
Diffstat (limited to 'nixos/modules/services/misc/autofs.nix')
-rw-r--r-- | nixos/modules/services/misc/autofs.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/autofs.nix b/nixos/modules/services/misc/autofs.nix index f1742177326af..84f49f964b127 100644 --- a/nixos/modules/services/misc/autofs.nix +++ b/nixos/modules/services/misc/autofs.nix @@ -19,6 +19,7 @@ in services.autofs = { enable = mkOption { + type = types.bool; default = false; description = '' Mount filesystems on demand. Unmount them automatically. |