summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/makefu/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-01-02 22:53:37 +0100
committerlassulus <lassulus@lassul.us>2022-01-02 22:53:37 +0100
commit4b977044b9ec271888da9f97fa91b304fa49abe5 (patch)
tree98fb523e77c0c3a883cba86794c7ce663a76f4bf /krebs/3modules/makefu/default.nix
parentfa81a9343a3ff47ec88d517766546db617d4ebec (diff)
parent81cc5dc969a5cde6e26ee5061dc57cbbbf758450 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/3modules/makefu/default.nix')
-rw-r--r--krebs/3modules/makefu/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/3modules/makefu/default.nix b/krebs/3modules/makefu/default.nix
index 7780863a3..51c38b899 100644
--- a/krebs/3modules/makefu/default.nix
+++ b/krebs/3modules/makefu/default.nix
@@ -22,6 +22,12 @@ with import <stockholm/lib>;
(krebs.genipv6 "retiolum" "makefu" { inherit hostName; }).address;
};
})
+ # Retiolum ed25519 keys
+ (let
+ pubkey-path = ./retiolum + "/${hostName}_ed25519.pub";
+ in optionalAttrs (pathExists pubkey-path) {
+ nets.retiolum.tinc.pubkey_ed25519 = builtins.trace "using ed25519 key for host ${hostName}" (readFile pubkey-path);
+ })
# Wiregrill defaults
(let
pubkey-path = ./wiregrill + "/${hostName}.pub";