diff options
author | tv <tv@krebsco.de> | 2022-01-31 11:36:23 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-01-31 11:36:23 +0100 |
commit | 854215422949e553178d6b8fbc82ebec05ef7c20 (patch) | |
tree | 23d3d3f339c6de5ee066b6196a826500aa37cc6c /krebs/3modules | |
parent | 109f6ab1c5bef23922c6e96b3f3f2dedc81b6d78 (diff) |
tv ni wiregrill: add via
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/tv/default.nix | 9 |
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"; }; |