diff options
| -rw-r--r-- | hosts/vidhar/network/no-double-timeout.patch (renamed from overlays/pppd/no-double-timeout.patch) | 0 | ||||
| -rw-r--r-- | hosts/vidhar/network/pppoe.nix | 5 | ||||
| -rw-r--r-- | overlays/pppd/default.nix | 8 |
3 files changed, 5 insertions, 8 deletions
diff --git a/overlays/pppd/no-double-timeout.patch b/hosts/vidhar/network/no-double-timeout.patch index 53f41ae1..53f41ae1 100644 --- a/overlays/pppd/no-double-timeout.patch +++ b/hosts/vidhar/network/no-double-timeout.patch | |||
diff --git a/hosts/vidhar/network/pppoe.nix b/hosts/vidhar/network/pppoe.nix index d95922aa..6b4942a6 100644 --- a/hosts/vidhar/network/pppoe.nix +++ b/hosts/vidhar/network/pppoe.nix | |||
| @@ -22,6 +22,11 @@ in { | |||
| 22 | 22 | ||
| 23 | services.pppd = { | 23 | services.pppd = { |
| 24 | enable = true; | 24 | enable = true; |
| 25 | package = pkgs.ppp.overrideAttrs (oldAttrs: { | ||
| 26 | patches = (oldAttrs.patches or []) ++ [ | ||
| 27 | ./no-double-timeout.patch | ||
| 28 | ]; | ||
| 29 | }); | ||
| 25 | peers.telekom.config = '' | 30 | peers.telekom.config = '' |
| 26 | nodefaultroute | 31 | nodefaultroute |
| 27 | ifname ${pppInterface} | 32 | ifname ${pppInterface} |
diff --git a/overlays/pppd/default.nix b/overlays/pppd/default.nix deleted file mode 100644 index 4f9467e9..00000000 --- a/overlays/pppd/default.nix +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | { final, prev, ... }: | ||
| 2 | { | ||
| 3 | ppp = prev.ppp.overrideAttrs (oldAttrs: { | ||
| 4 | patches = (oldAttrs.patches or []) ++ [ | ||
| 5 | ./no-double-timeout.patch | ||
| 6 | ]; | ||
| 7 | }); | ||
| 8 | } | ||
