summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorpennae <pennae.git@quasiparticle.net>2023-01-16 10:40:17 +0100
committerpennae <pennae.git@quasiparticle.net>2023-01-16 10:40:17 +0100
commitac1fdf380945fa62b2665a0d4163f2316c68ca5f (patch)
tree5ddfc1be4f71c1632af84c6d0aca603b7546b6f9 /modules
parent5632a445619f2f275951fbaf5523953fc93b8a81 (diff)
downloadseacrit-ac1fdf380945fa62b2665a0d4163f2316c68ca5f.tar.gz
seacrit-ac1fdf380945fa62b2665a0d4163f2316c68ca5f.tar.xz
seacrit-ac1fdf380945fa62b2665a0d4163f2316c68ca5f.zip
fix hostKeys being [[path]] instead of [path]
Diffstat (limited to 'modules')
-rw-r--r--modules/default.nix8
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.";
};