summaryrefslogtreecommitdiff
path: root/hosts/vidhar/dsl.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/dsl.nix')
-rw-r--r--hosts/vidhar/dsl.nix20
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";