summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/external/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-25 14:21:45 +0100
committerlassulus <lassulus@lassul.us>2018-12-25 14:21:45 +0100
commit371e22366526d8fe9695e6ac4d1d0b5fcb66bd6b (patch)
tree041b76714f64575583892250f97ee755b9c02521 /krebs/3modules/external/default.nix
parentcabb397b83afbe2726a4da33f4d230da30704a63 (diff)
external: set wiregrill ip6
Diffstat (limited to 'krebs/3modules/external/default.nix')
-rw-r--r--krebs/3modules/external/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/3modules/external/default.nix b/krebs/3modules/external/default.nix
index fc450b667..441fda45e 100644
--- a/krebs/3modules/external/default.nix
+++ b/krebs/3modules/external/default.nix
@@ -8,6 +8,9 @@ with import <stockholm/lib>;
} // optionalAttrs (host.nets?retiolum) {
nets.retiolum.ip6.addr =
(krebs.genipv6 "retiolum" "external" { inherit hostName; }).address;
+ } // optionalAttrs (host.nets?wiregrill) {
+ nets.wiregrill.ip6.addr =
+ (krebs.genipv6 "wiregrill" "external" { inherit hostName; }).address;
});
ssh-for = name: builtins.readFile (./ssh + "/${name}.pub");
tinc-for = name: builtins.readFile (./tinc + "/${name}.pub");