rotuer: remove hardcoded wan address
This commit is contained in:
parent
2de4d7a8f9
commit
a12e5888e9
1 changed files with 9 additions and 9 deletions
|
@ -295,14 +295,14 @@ in rec {
|
||||||
dependencies = [ services.wan ];
|
dependencies = [ services.wan ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.set-wan-address =
|
# services.set-wan-address =
|
||||||
oneshot {
|
# oneshot {
|
||||||
name = "set-wan-address";
|
# name = "set-wan-address";
|
||||||
# FIXME nasty bit of hardcoding - should get this from dhcp6c
|
# # 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";
|
# 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";
|
# down = "ip address del 2001:8b0:1111:1111:0:ffff:51bb:4cf2/128 dev ppp0";
|
||||||
dependencies = [ services.dhcp6 ];
|
# dependencies = [ services.dhcp6 ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
services.acquire-lan-prefix =
|
services.acquire-lan-prefix =
|
||||||
let script = pkgs.callPackage ./acquire-delegated-prefix.nix { };
|
let script = pkgs.callPackage ./acquire-delegated-prefix.nix { };
|
||||||
|
@ -331,7 +331,7 @@ in rec {
|
||||||
config.services.hostname
|
config.services.hostname
|
||||||
dhcp6
|
dhcp6
|
||||||
acquire-lan-prefix
|
acquire-lan-prefix
|
||||||
set-wan-address
|
# set-wan-address
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
defaultProfile.packages = with pkgs; [
|
defaultProfile.packages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue