diff options
author | pennae <pennae.git@quasiparticle.net> | 2023-01-16 10:40:17 +0100 |
---|---|---|
committer | pennae <pennae.git@quasiparticle.net> | 2023-01-16 10:40:17 +0100 |
commit | ac1fdf380945fa62b2665a0d4163f2316c68ca5f (patch) | |
tree | 5ddfc1be4f71c1632af84c6d0aca603b7546b6f9 /modules/default.nix | |
parent | 5632a445619f2f275951fbaf5523953fc93b8a81 (diff) | |
download | seacrit-ac1fdf380945fa62b2665a0d4163f2316c68ca5f.tar.gz seacrit-ac1fdf380945fa62b2665a0d4163f2316c68ca5f.tar.xz seacrit-ac1fdf380945fa62b2665a0d4163f2316c68ca5f.zip |
fix hostKeys being [[path]] instead of [path]
Diffstat (limited to 'modules/default.nix')
-rw-r--r-- | modules/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
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."; }; |