From 1396f624f46b406e82fcea825962af3f50c747c1 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 1 May 2014 16:27:16 -0500 Subject: [PATCH] sshd: Fix typing for options which take paths --- nixos/modules/services/networking/ssh/sshd.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 4a60e59b20b..e4b29a0b909 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 ssh-keyscan @@ -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.