about summary refs log tree commit diff
path: root/nixpkgs/nixos
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-01-05 10:04:24 +0000
committerAlyssa Ross <hi@alyssa.is>2021-01-06 12:48:36 +0000
commit3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22 (patch)
treeeac3a0dfc431d80306d6a427074109b67d802a35 /nixpkgs/nixos
parent5d5265097034606f810b51ec5d844b8033409e06 (diff)
downloadnixlib-3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22.tar
nixlib-3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22.tar.gz
nixlib-3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22.tar.bz2
nixlib-3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22.tar.lz
nixlib-3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22.tar.xz
nixlib-3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22.tar.zst
nixlib-3d12d2ebb5c43e376a5d0c33fe490b92a8fe2d22.zip
modules/agetty: mark up loginOptions description
Diffstat (limited to 'nixpkgs/nixos')
-rw-r--r--nixpkgs/nixos/modules/services/ttys/agetty.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/nixpkgs/nixos/modules/services/ttys/agetty.nix b/nixpkgs/nixos/modules/services/ttys/agetty.nix
index f9412d9ee898..ef5908eeb899 100644
--- a/nixpkgs/nixos/modules/services/ttys/agetty.nix
+++ b/nixpkgs/nixos/modules/services/ttys/agetty.nix
@@ -40,9 +40,15 @@ in
         type = types.nullOr types.str;
         default = null;
         description = ''
-          Template for arguments to be passed to login(1).
-          See agetty(1) for details, including security considerations.
-          If unspecified, agetty will not be invoked with a --login-options option.
+          Template for arguments to be passed to
+          <citerefentry><refentrytitle>login</refentrytitle>
+          <manvolnum>1</manvolnum></citerefentry>.
+
+          See <citerefentry><refentrytitle>agetty</refentrytitle>
+          <manvolnum>1</manvolnum></citerefentry> for details,
+          including security considerations.  If unspecified, agetty
+          will not be invoked with a <option>--login-options</option>
+          option.
         '';
         example = "-h darkstar -- \u";
       };