summary refs log tree commit diff
path: root/nixos/modules/services/misc/autofs.nix
diff options
context:
space:
mode:
authorFritz Otlinghaus <fritz@otlinghaus.it>2021-01-24 13:17:07 +0100
committerFritz Otlinghaus <fritz@otlinghaus.it>2021-01-24 13:17:07 +0100
commit91311fcb462d7ff4365ccb96898efe7c1cf211b8 (patch)
treed071d4a78edeca41b829cd5446f4cc894bf69c32 /nixos/modules/services/misc/autofs.nix
parente63d0738a7e81c463342003810046c483c2ef745 (diff)
downloadnixpkgs-91311fcb462d7ff4365ccb96898efe7c1cf211b8.tar
nixpkgs-91311fcb462d7ff4365ccb96898efe7c1cf211b8.tar.gz
nixpkgs-91311fcb462d7ff4365ccb96898efe7c1cf211b8.tar.bz2
nixpkgs-91311fcb462d7ff4365ccb96898efe7c1cf211b8.tar.lz
nixpkgs-91311fcb462d7ff4365ccb96898efe7c1cf211b8.tar.xz
nixpkgs-91311fcb462d7ff4365ccb96898efe7c1cf211b8.tar.zst
nixpkgs-91311fcb462d7ff4365ccb96898efe7c1cf211b8.zip
nixos/autofs: add timeout type
Diffstat (limited to 'nixos/modules/services/misc/autofs.nix')
-rw-r--r--nixos/modules/services/misc/autofs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/autofs.nix b/nixos/modules/services/misc/autofs.nix
index 5e7c1e66828..541f0d2db19 100644
--- a/nixos/modules/services/misc/autofs.nix
+++ b/nixos/modules/services/misc/autofs.nix
@@ -52,6 +52,7 @@ in
       };
 
       timeout = mkOption {
+        type = types.int;
         default = 600;
         description = "Set the global minimum timeout, in seconds, until directories are unmounted";
       };