diff options
author | pennae <github@quasiparticle.net> | 2022-08-05 19:39:00 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-08-06 20:39:12 +0200 |
commit | 087472b1e5230ffc8ba642b1e4f9218adf4634a2 (patch) | |
tree | ba5c8e457072dce9aa13a92f26bb7e6a47d45776 /nixos/modules/services/networking/ssh | |
parent | 423545fe4865d126e86721ba30da116e29c65004 (diff) | |
download | nixlib-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar nixlib-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.gz nixlib-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.bz2 nixlib-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.lz nixlib-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.xz nixlib-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.zst nixlib-087472b1e5230ffc8ba642b1e4f9218adf4634a2.zip |
nixos/*: automatically convert option docs
Diffstat (limited to 'nixos/modules/services/networking/ssh')
-rw-r--r-- | nixos/modules/services/networking/ssh/sshd.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 6beafb8c7c8f..beb411f204b5 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -156,10 +156,10 @@ in gatewayPorts = mkOption { type = types.str; default = "no"; - description = '' + description = lib.mdDoc '' Specifies whether remote hosts are allowed to connect to ports forwarded for the client. See - <citerefentry><refentrytitle>sshd_config</refentrytitle><manvolnum>5</manvolnum></citerefentry>. + {manpage}`sshd_config(5)`. ''; }; @@ -236,10 +236,10 @@ in [ { type = "rsa"; bits = 4096; path = "/etc/ssh/ssh_host_rsa_key"; rounds = 100; openSSHFormat = true; } { type = "ed25519"; path = "/etc/ssh/ssh_host_ed25519_key"; rounds = 100; comment = "key comment"; } ]; - description = '' + description = lib.mdDoc '' NixOS can automatically generate SSH host keys. This option specifies the path, type and size of each key. See - <citerefentry><refentrytitle>ssh-keygen</refentrytitle><manvolnum>1</manvolnum></citerefentry> for supported types + {manpage}`ssh-keygen(1)` for supported types and sizes. ''; }; |