diff options
Diffstat (limited to 'hosts/vidhar/network/dsl.nix')
-rw-r--r-- | hosts/vidhar/network/dsl.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix index 2655b09a..ae874c25 100644 --- a/hosts/vidhar/network/dsl.nix +++ b/hosts/vidhar/network/dsl.nix | |||
@@ -31,7 +31,7 @@ in { | |||
31 | maxfail 0 | 31 | maxfail 0 |
32 | mtu 1492 | 32 | mtu 1492 |
33 | mru 1492 | 33 | mru 1492 |
34 | plugin rp-pppoe.so | 34 | plugin pppoe.so |
35 | name telekom | 35 | name telekom |
36 | user 002576900250551137425220#0001@t-online.de | 36 | user 002576900250551137425220#0001@t-online.de |
37 | telekom | 37 | telekom |
@@ -42,14 +42,8 @@ in { | |||
42 | stopIfChanged = true; | 42 | stopIfChanged = true; |
43 | 43 | ||
44 | serviceConfig = lib.mkForce { | 44 | serviceConfig = lib.mkForce { |
45 | Type = "notify"; | ||
46 | PIDFile = "/run/pppd/${pppInterface}.pid"; | 45 | PIDFile = "/run/pppd/${pppInterface}.pid"; |
47 | ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom up_sdnotify nolog +ipv6"; | 46 | ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom up_sdnotify nolog +ipv6"; |
48 | Restart = "always"; | ||
49 | RestartSec = 5; | ||
50 | |||
51 | RuntimeDirectory = "pppd"; | ||
52 | RuntimeDirectoryPreserve = true; | ||
53 | }; | 47 | }; |
54 | }; | 48 | }; |
55 | sops.secrets."pap-secrets" = { | 49 | sops.secrets."pap-secrets" = { |