From a12e5888e93206eaa1ba6356de5a8f2026f8de7c Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 5 Jul 2023 20:34:30 +0100 Subject: [PATCH] rotuer: remove hardcoded wan address --- examples/rotuer.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/rotuer.nix b/examples/rotuer.nix index 046994a..bf5f2f8 100644 --- a/examples/rotuer.nix +++ b/examples/rotuer.nix @@ -295,14 +295,14 @@ in rec { dependencies = [ services.wan ]; }; - services.set-wan-address = - oneshot { - name = "set-wan-address"; - # FIXME nasty bit of hardcoding - should get this from dhcp6c - up = "ip address add 2001:8b0:1111:1111:0:ffff:51bb:4cf2/128 dev ppp0"; - down = "ip address del 2001:8b0:1111:1111:0:ffff:51bb:4cf2/128 dev ppp0"; - dependencies = [ services.dhcp6 ]; - }; + # services.set-wan-address = + # oneshot { + # name = "set-wan-address"; + # # FIXME nasty bit of hardcoding - should get this from dhcp6c + # up = "ip address add 2001:8b0:1111:1111:0:ffff:51bb:4cf2/128 dev ppp0"; + # down = "ip address del 2001:8b0:1111:1111:0:ffff:51bb:4cf2/128 dev ppp0"; + # dependencies = [ services.dhcp6 ]; + # }; services.acquire-lan-prefix = let script = pkgs.callPackage ./acquire-delegated-prefix.nix { }; @@ -331,7 +331,7 @@ in rec { config.services.hostname dhcp6 acquire-lan-prefix - set-wan-address +# set-wan-address ]; }; defaultProfile.packages = with pkgs; [