summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-01-31 11:36:23 +0100
committertv <tv@krebsco.de>2022-01-31 11:36:23 +0100
commit854215422949e553178d6b8fbc82ebec05ef7c20 (patch)
tree23d3d3f339c6de5ee066b6196a826500aa37cc6c /krebs
parent109f6ab1c5bef23922c6e96b3f3f2dedc81b6d78 (diff)
tv ni wiregrill: add via
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/tv/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/krebs/3modules/tv/default.nix b/krebs/3modules/tv/default.nix
index 4e40561c2..2c0e653fd 100644
--- a/krebs/3modules/tv/default.nix
+++ b/krebs/3modules/tv/default.nix
@@ -200,9 +200,12 @@ in {
'';
tinc.pubkey_ed25519 = "nDuK96NlNhcxzlX7G30w/706RxItb+FhkFkz/VhUgCE";
};
- wiregrill.wireguard.subnets = [
- (krebs.genipv6 "wiregrill" "tv" 0).subnetCIDR
- ];
+ wiregrill = {
+ via = config.krebs.hosts.ni.nets.internet;
+ wireguard.subnets = [
+ (krebs.genipv6 "wiregrill" "tv" 0).subnetCIDR
+ ];
+ };
};
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILGDdcKwFm6udU0/x6XGGb87k9py0VlrxF54HeYu9Izb";
};