summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.";
};