diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-29 10:52:45 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-29 10:52:45 +0100 |
| commit | 49b2b0cd849a3acd040a40b5be98875b58a236b0 (patch) | |
| tree | e1b205f6589e1dc087cea2a86c19e2db4655b413 /hosts/vidhar/dsl.nix | |
| parent | bb2ef19025d688433e7e3f9ef8edc26a3fa69d24 (diff) | |
| download | nixos-49b2b0cd849a3acd040a40b5be98875b58a236b0.tar nixos-49b2b0cd849a3acd040a40b5be98875b58a236b0.tar.gz nixos-49b2b0cd849a3acd040a40b5be98875b58a236b0.tar.bz2 nixos-49b2b0cd849a3acd040a40b5be98875b58a236b0.tar.xz nixos-49b2b0cd849a3acd040a40b5be98875b58a236b0.zip | |
vidhar: ...
Diffstat (limited to 'hosts/vidhar/dsl.nix')
| -rw-r--r-- | hosts/vidhar/dsl.nix | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix index be07b9f7..0f92a079 100644 --- a/hosts/vidhar/dsl.nix +++ b/hosts/vidhar/dsl.nix | |||
| @@ -37,15 +37,19 @@ in { | |||
| 37 | debug | 37 | debug |
| 38 | ''; | 38 | ''; |
| 39 | }; | 39 | }; |
| 40 | systemd.services."pppd-telekom".serviceConfig = lib.mkForce { | 40 | systemd.services."pppd-telekom" = { |
| 41 | Type = "forking"; | 41 | stopIfChanged = false; |
| 42 | PIDFile = "/run/pppd/${pppInterface}.pid"; | 42 | |
| 43 | ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom updetach nolog +ipv6"; | 43 | serviceConfig = lib.mkForce { |
| 44 | Restart = "always"; | 44 | Type = "notify"; |
| 45 | RestartSec = 5; | 45 | PIDFile = "/run/pppd/${pppInterface}.pid"; |
| 46 | ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom up_sdnotify nolog +ipv6"; | ||
| 47 | Restart = "always"; | ||
| 48 | RestartSec = 5; | ||
| 46 | 49 | ||
| 47 | RuntimeDirectory = "pppd"; | 50 | RuntimeDirectory = "pppd"; |
| 48 | RuntimeDirectoryPreserve = true; | 51 | RuntimeDirectoryPreserve = true; |
| 52 | }; | ||
| 49 | }; | 53 | }; |
| 50 | sops.secrets."pap-secrets" = { | 54 | sops.secrets."pap-secrets" = { |
| 51 | format = "binary"; | 55 | format = "binary"; |
