summaryrefslogtreecommitdiff
path: root/modules/programs/ssh
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-14 23:02:32 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2024-04-19 04:05:50 +0200
commitdef1e23be848848400d1d097d4f044e3c401f9dd (patch)
tree7a69686dea36e304c788531fda90bc3edeee86fd /modules/programs/ssh
parent99b3f9a1f5d2604d542f367d38001dfa40eea7b9 (diff)
treewide: remove lib.mdDoc
Diffstat (limited to 'modules/programs/ssh')
-rw-r--r--modules/programs/ssh/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/programs/ssh/default.nix b/modules/programs/ssh/default.nix
index 5fc7415..d1a6770 100644
--- a/modules/programs/ssh/default.nix
+++ b/modules/programs/ssh/default.nix
@@ -14,7 +14,7 @@ let
hostNames = mkOption {
type = types.listOf types.str;
default = [];
- description = lib.mdDoc ''
+ description = ''
A list of host names and/or IP numbers used for accessing
the host's ssh service.
'';
@@ -23,7 +23,7 @@ let
default = null;
type = types.nullOr types.str;
example = "ecdsa-sha2-nistp521 AAAAE2VjZHN...UEPg==";
- description = lib.mdDoc ''
+ description = ''
The public key data for the host. You can fetch a public key
from a running SSH server with the {command}`ssh-keyscan`
command. The public key should not include any host names, only
@@ -33,7 +33,7 @@ let
publicKeyFile = mkOption {
default = null;
type = types.nullOr types.path;
- description = lib.mdDoc ''
+ description = ''
The path to the public key file for the host. The public
key file is read at build time and saved in the Nix store.
You can fetch a public key file from a running SSH server
@@ -54,7 +54,7 @@ let
keys = mkOption {
type = types.listOf types.str;
default = [];
- description = lib.mdDoc ''
+ description = ''
A list of verbatim OpenSSH public keys that should be added to the
user's authorized keys. The keys are added to a file that the SSH
daemon reads in addition to the the user's authorized_keys file.
@@ -68,7 +68,7 @@ let
keyFiles = mkOption {
type = types.listOf types.path;
default = [];
- description = lib.mdDoc ''
+ description = ''
A list of files each containing one OpenSSH public key that should be
added to the user's authorized keys. The contents of the files are
read at build time and added to a file that the SSH daemon reads in
@@ -106,7 +106,7 @@ in
services.openssh.authorizedKeysFiles = mkOption {
type = types.listOf types.str;
default = [];
- description = lib.mdDoc ''
+ description = ''
Specify the rules for which files to read on the host.
This is an advanced option. If you're looking to configure user
@@ -122,7 +122,7 @@ in
programs.ssh.knownHosts = mkOption {
default = {};
type = types.attrsOf (types.submodule host);
- description = lib.mdDoc ''
+ description = ''
The set of system-wide known SSH hosts.
'';
example = literalExpression ''