summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/network/pppoe.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/hosts/vidhar/network/pppoe.nix b/hosts/vidhar/network/pppoe.nix
index 52151d87..a891e269 100644
--- a/hosts/vidhar/network/pppoe.nix
+++ b/hosts/vidhar/network/pppoe.nix
@@ -86,8 +86,7 @@ in {
86 execer = [ "cannot:${lib.getExe' pkgs.iproute2 "ip"}" ]; 86 execer = [ "cannot:${lib.getExe' pkgs.iproute2 "ip"}" ];
87 } '' 87 } ''
88 ip addr add "$4" peer "$5"/32 dev "$1" 88 ip addr add "$4" peer "$5"/32 dev "$1"
89 ip route add "$5" dev "1" 89 ip route add default dev "$1" metric 512
90 ip route add default via "$5" dev "1" metric 512
91 ''; 90 '';
92 "ppp/ip-down".source = pkgs.resholve.writeScript "ip-down" { 91 "ppp/ip-down".source = pkgs.resholve.writeScript "ip-down" {
93 interpreter = pkgs.runtimeShell; 92 interpreter = pkgs.runtimeShell;