summary refs log tree commit diff
path: root/nixos/modules/services/misc/autofs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/misc/autofs.nix')
-rw-r--r--nixos/modules/services/misc/autofs.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/autofs.nix b/nixos/modules/services/misc/autofs.nix
index b4dae79cf8a..3a95e922820 100644
--- a/nixos/modules/services/misc/autofs.nix
+++ b/nixos/modules/services/misc/autofs.nix
@@ -27,8 +27,9 @@ in
       };
 
       autoMaster = mkOption {
+        type = types.str;
         example = literalExample ''
-          autoMaster = let
+          let
             mapConf = pkgs.writeText "auto" '''
              kernel    -ro,soft,intr       ftp.kernel.org:/pub/linux
              boot      -fstype=ext2        :/dev/hda1