diff options
author | William A. Kennington III <william@wkennington.com> | 2014-05-01 16:27:16 -0500 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-05-01 16:33:44 -0500 |
commit | 1396f624f46b406e82fcea825962af3f50c747c1 (patch) | |
tree | a3fd0e94a88ff59af40bd61182f4e917ea2d3746 /nixos/modules/services | |
parent | 78c33177ce93cf0ce4142b1e19e7583ebd96e7b9 (diff) | |
download | nixlib-1396f624f46b406e82fcea825962af3f50c747c1.tar nixlib-1396f624f46b406e82fcea825962af3f50c747c1.tar.gz nixlib-1396f624f46b406e82fcea825962af3f50c747c1.tar.bz2 nixlib-1396f624f46b406e82fcea825962af3f50c747c1.tar.lz nixlib-1396f624f46b406e82fcea825962af3f50c747c1.tar.xz nixlib-1396f624f46b406e82fcea825962af3f50c747c1.tar.zst nixlib-1396f624f46b406e82fcea825962af3f50c747c1.zip |
sshd: Fix typing for options which take paths
Diffstat (limited to 'nixos/modules/services')
-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 4a60e59b20b6..e4b29a0b9090 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -39,7 +39,7 @@ let }; keyFiles = mkOption { - type = types.listOf types.unspecified; + type = types.listOf types.path; default = []; description = '' A list of files each containing one OpenSSH public key that should be @@ -182,7 +182,7 @@ in }; authorizedKeysFiles = mkOption { - type = types.listOf types.unspecified; + type = types.listOf types.str; default = []; description = "Files from with authorized keys are read."; }; @@ -220,7 +220,7 @@ in }; publicKey = mkOption { default = null; - type = types.nullOr types.string; + type = types.nullOr types.str; 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> @@ -229,7 +229,7 @@ in }; publicKeyFile = mkOption { default = null; - type = types.nullOr types.unspecified; + type = types.nullOr types.path; 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. |