diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-17 15:06:58 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-17 15:06:58 +0200 |
commit | e7d3aa006082d6b25e40f23cdadde9a177f59da0 (patch) | |
tree | d33006ac4216d6c114e847cf77adaa91df4798ba /hosts/vidhar | |
parent | 01b1724bae7b20ff4b29645a1f2d2425d7860471 (diff) | |
download | nixos-e7d3aa006082d6b25e40f23cdadde9a177f59da0.tar nixos-e7d3aa006082d6b25e40f23cdadde9a177f59da0.tar.gz nixos-e7d3aa006082d6b25e40f23cdadde9a177f59da0.tar.bz2 nixos-e7d3aa006082d6b25e40f23cdadde9a177f59da0.tar.xz nixos-e7d3aa006082d6b25e40f23cdadde9a177f59da0.zip |
...
Diffstat (limited to 'hosts/vidhar')
-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" = { |