about summary refs log tree commit diff
path: root/nixos/modules/services/ttys
diff options
context:
space:
mode:
authorpennae <82953136+pennae@users.noreply.github.com>2022-08-12 23:23:26 +0200
committerGitHub <noreply@github.com>2022-08-12 23:23:26 +0200
commit50f9b3107a09ed35bbf3f9ab36ad2683619debd2 (patch)
tree5d6e8d31e2e75a37adbccb6d7dfe02d3dabde7b3 /nixos/modules/services/ttys
parenta253a7da71db6a0a1d06cbbbe09fb456d84047ce (diff)
parent087472b1e5230ffc8ba642b1e4f9218adf4634a2 (diff)
Merge pull request #185474 from pennae/option-docs-md
nixos/*: more options md conversion
Diffstat (limited to 'nixos/modules/services/ttys')
-rw-r--r--nixos/modules/services/ttys/getty.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/nixos/modules/services/ttys/getty.nix b/nixos/modules/services/ttys/getty.nix
index e8efe72577c53..aec65903cecb9 100644
--- a/nixos/modules/services/ttys/getty.nix
+++ b/nixos/modules/services/ttys/getty.nix
@@ -52,15 +52,13 @@ in
       loginOptions = mkOption {
         type = types.nullOr types.str;
         default = null;
-        description = ''
+        description = lib.mdDoc ''
           Template for arguments to be passed to
-          <citerefentry><refentrytitle>login</refentrytitle>
-          <manvolnum>1</manvolnum></citerefentry>.
+          {manpage}`login(1)`.
 
-          See <citerefentry><refentrytitle>agetty</refentrytitle>
-          <manvolnum>1</manvolnum></citerefentry> for details,
+          See {manpage}`agetty(1)` for details,
           including security considerations.  If unspecified, agetty
-          will not be invoked with a <option>--login-options</option>
+          will not be invoked with a {option}`--login-options`
           option.
         '';
         example = "-h darkstar -- \\u";