diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2016-01-17 19:34:55 +0100 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2016-01-17 19:41:23 +0100 |
commit | a04a7272aa38ada45e694281071b720d4abbd0df (patch) | |
tree | 3cd20fafec2de8e3b5ec558461a779898b4e50ee /nixos/modules/services/misc/autofs.nix | |
parent | ae5ef2b00955a8b8cbcc93a6682a8275c4d5e52c (diff) |
Add missing 'type', 'defaultText' and 'literalExample' in module definitions
- add missing types in module definitions - add missing 'defaultText' in module definitions - wrap example with 'literalExample' where necessary in module definitions
Diffstat (limited to 'nixos/modules/services/misc/autofs.nix')
-rw-r--r-- | nixos/modules/services/misc/autofs.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/autofs.nix b/nixos/modules/services/misc/autofs.nix index b4dae79cf8a90..3a95e92282004 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 |