diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-31 15:03:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 15:03:45 +0100 |
commit | 60b597ad3b72e9c2a847e6e631212adbc6d945cb (patch) | |
tree | 5a2abcc99dd35947b8dcd8fc141cb38800ea0222 /nixos | |
parent | 0fc3bc21abe011fdb4fc19fe953220cbbe2e007a (diff) | |
parent | 295de63e90350ea9a5a10e2b0aa268dbb9f7976f (diff) |
Merge pull request #111419 from helsinki-systems/lshd
nixos/lshd: add types
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/ssh/lshd.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/ssh/lshd.nix b/nixos/modules/services/networking/ssh/lshd.nix index e46d62bf1e82..862ff7df0540 100644 --- a/nixos/modules/services/networking/ssh/lshd.nix +++ b/nixos/modules/services/networking/ssh/lshd.nix @@ -29,6 +29,7 @@ in portNumber = mkOption { default = 22; + type = types.port; description = '' The port on which to listen for connections. ''; @@ -36,6 +37,7 @@ in interfaces = mkOption { default = []; + type = types.listOf types.str; description = '' List of network interfaces where listening for connections. When providing the empty list, `[]', lshd listens on all @@ -46,6 +48,7 @@ in hostKey = mkOption { default = "/etc/lsh/host-key"; + type = types.str; description = '' Path to the server's private key. Note that this key must have been created, e.g., using "lsh-keygen --server | @@ -79,6 +82,7 @@ in loginShell = mkOption { default = null; + type = types.nullOr types.str; description = '' If non-null, override the default login shell with the specified value. @@ -88,6 +92,7 @@ in srpKeyExchange = mkOption { default = false; + type = types.bool; description = '' Whether to enable SRP key exchange and user authentication. ''; @@ -106,6 +111,7 @@ in }; subsystems = mkOption { + type = types.listOf types.path; description = '' List of subsystem-path pairs, where the head of the pair denotes the subsystem name, and the tail denotes the path to |