summaryrefslogtreecommitdiff
path: root/machines/dragon.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-10-07 19:39:22 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-10-07 19:39:22 -0400
commit71955948f3d13b98b7423b9c1efb8b98e9832cfb (patch)
tree25517053fb56670b3f37afe3cc12b8e41ca95381 /machines/dragon.nix
parentfac6c48ab296271e36dbb77916bfca8dae049e20 (diff)
fix
Diffstat (limited to 'machines/dragon.nix')
-rw-r--r--machines/dragon.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index 568629c..987596b 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -88,8 +88,7 @@ in {
networking.firewall.enable = false;
networking.interfaces.router-vport.useDHCP = true;
networking.interfaces.wg-vpn-vport = {
- useDHCP = false;
- ipv6.addresses = [{address = "${vpnPrefix}::d"; prefixLength = 128;}];
+ useDHCP = true;
ipv6.routes = [{address = "${vpnPrefix}::"; prefixLength = 64; via = "${vpnPrefix}::2"; }];
};
networking.resolvconf.useLocalResolver = false;