From 9248259708bd6ade5e334a2cdfb29d2a20acb0dd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 3 Oct 2022 17:15:36 +0200 Subject: ... --- hosts/vidhar/network/dsl.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hosts/vidhar/network/dsl.nix') diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix index a5f4daf2..461e74d2 100644 --- a/hosts/vidhar/network/dsl.nix +++ b/hosts/vidhar/network/dsl.nix @@ -11,7 +11,7 @@ in { default = "dsl"; }; }; - + config = { networking.vlans = { telekom = { @@ -19,7 +19,7 @@ in { interface = "eno2"; }; }; - + services.pppd = { enable = true; peers.telekom.config = '' @@ -40,7 +40,7 @@ in { }; systemd.services."pppd-telekom" = { stopIfChanged = true; - + serviceConfig = lib.mkForce { Type = "notify"; PIDFile = "/run/pppd/${pppInterface}.pid"; @@ -62,7 +62,7 @@ in { "ppp/ip-up" = { text = '' #!${pkgs.runtimeShell} - ${pkgs.iproute}/bin/ip route add default via "$5" dev "${pppInterface}" metric 512 + ${pkgs.iproute2}/bin/ip route add default via "$5" dev "${pppInterface}" metric 512 ''; mode = "0555"; }; -- cgit v1.2.3