diff options
author | lassulus <lassulus@lassul.us> | 2022-01-02 22:53:37 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-01-02 22:53:37 +0100 |
commit | 4b977044b9ec271888da9f97fa91b304fa49abe5 (patch) | |
tree | 98fb523e77c0c3a883cba86794c7ce663a76f4bf /krebs/3modules/makefu/default.nix | |
parent | fa81a9343a3ff47ec88d517766546db617d4ebec (diff) | |
parent | 81cc5dc969a5cde6e26ee5061dc57cbbbf758450 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/3modules/makefu/default.nix')
-rw-r--r-- | krebs/3modules/makefu/default.nix | 6 |
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"; |