summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-07-26 15:24:42 +0300
committerNikolay Amiantov <ab@fmap.me>2017-07-26 15:24:43 +0300
commit358abce8373b52c6c8acd8d5416706c55cc72825 (patch)
tree827e34ce1d341bfe0665874a55ac371eb53e95cf
parent4a787b292abe90c02975849b98c308ebb9b87ad8 (diff)
downloadnixpkgs-358abce8373b52c6c8acd8d5416706c55cc72825.tar
nixpkgs-358abce8373b52c6c8acd8d5416706c55cc72825.tar.gz
nixpkgs-358abce8373b52c6c8acd8d5416706c55cc72825.tar.bz2
nixpkgs-358abce8373b52c6c8acd8d5416706c55cc72825.tar.lz
nixpkgs-358abce8373b52c6c8acd8d5416706c55cc72825.tar.xz
nixpkgs-358abce8373b52c6c8acd8d5416706c55cc72825.tar.zst
nixpkgs-358abce8373b52c6c8acd8d5416706c55cc72825.zip
autofs service: fix the manual
Fixes #27202.
-rw-r--r--nixos/modules/services/misc/autofs.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/nixos/modules/services/misc/autofs.nix b/nixos/modules/services/misc/autofs.nix
index 40b48f70f7e..f1742177326 100644
--- a/nixos/modules/services/misc/autofs.nix
+++ b/nixos/modules/services/misc/autofs.nix
@@ -20,10 +20,10 @@ in
 
       enable = mkOption {
         default = false;
-        description = "
+        description = ''
           Mount filesystems on demand. Unmount them automatically.
           You may also be interested in afuse.
-        ";
+        '';
       };
 
       autoMaster = mkOption {
@@ -45,10 +45,9 @@ in
             /auto file:''${mapConf}
           '''
         '';
-        description = "
-          file contents of /etc/auto.master. See man auto.master
-          See man 5 auto.master and man 5 autofs.
-        ";
+        description = ''
+          Contents of <literal>/etc/auto.master</literal> file. See <command>auto.master(5)</command> and <command>autofs(5)</command>.
+        '';
       };
 
       timeout = mkOption {
@@ -58,9 +57,9 @@ in
 
       debug = mkOption {
         default = false;
-        description = "
-        pass -d and -7 to automount and write log to /var/log/autofs
-        ";
+        description = ''
+          Pass -d and -7 to automount and write log to the system journal.
+        '';
       };
 
     };