sshd: Fix typing for options which take paths

This commit is contained in:
William A. Kennington III 2014-05-01 16:27:16 -05:00
parent 78c33177ce
commit 1396f624f4

View File

@ -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.