From ac1fdf380945fa62b2665a0d4163f2316c68ca5f Mon Sep 17 00:00:00 2001 From: pennae Date: Mon, 16 Jan 2023 10:40:17 +0100 Subject: fix hostKeys being [[path]] instead of [path] --- modules/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/default.nix') diff --git a/modules/default.nix b/modules/default.nix index fbbf075..f187a8f 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -151,8 +151,12 @@ in hostKeys = mkOption { type = types.listOf types.path; - default = optionals config.services.openssh.enable - (concatMap (k: optional (elem k.type [ "ed25519" "rsa" ]) [ k.path ]) config.services.openssh.hostKeys); + default = + optionals + config.services.openssh.enable + (concatMap + (k: optional (elem k.type [ "ed25519" "rsa" ]) k.path) + config.services.openssh.hostKeys); description = "Paths to keys used for secret decryption. All age key types are supported."; }; -- cgit v1.2.3