diff options
author | tv <tv@krebsco.de> | 2022-01-03 14:32:14 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-01-03 14:32:14 +0100 |
commit | e8611251e6e40a50dedfe8efaa8ea555a96e1a9d (patch) | |
tree | b2062294c7a157b04ff0cdfb56e1c156364a7577 /krebs/3modules/makefu/default.nix | |
parent | db6e1a0dfc91ea25c0eeebb5254156469f209265 (diff) | |
parent | 2313e962e2ac6dc6f1f59800d793101f958e8b37 (diff) |
Merge remote-tracking branch 'prism/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..62316bfdb 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 = readFile pubkey-path; + }) # Wiregrill defaults (let pubkey-path = ./wiregrill + "/${hostName}.pub"; |