summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/network/pppoe/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/hosts/vidhar/network/pppoe/default.nix b/hosts/vidhar/network/pppoe/default.nix
index 3d652fa8..62a0eec8 100644
--- a/hosts/vidhar/network/pppoe/default.nix
+++ b/hosts/vidhar/network/pppoe/default.nix
@@ -44,17 +44,19 @@ in {
44 environment.etc."ppp/ip-down".source 44 environment.etc."ppp/ip-down".source
45 ]; 45 ];
46 46
47 serviceConfig.LoadCredential = [ 47 serviceConfig = {
48 "password:${config.sops.secrets."o2-password".path}" 48 LoadCredential = [
49 ]; 49 "password:${config.sops.secrets."o2-password".path}"
50 ];
51
52 RestartSec = lib.mkForce "50ms";
53 RestartMaxDelaySec = "5s";
54 RestartSteps = 4;
55 StartLimitBurst = 10;
56 };
50 57
51 bindsTo = [ "sys-subsystem-net-devices-pppoe.device" ]; 58 bindsTo = [ "sys-subsystem-net-devices-pppoe.device" ];
52 after = [ "sys-subsystem-net-devices-pppoe.device" ]; 59 after = [ "sys-subsystem-net-devices-pppoe.device" ];
53
54 RestartSec = lib.mkForce "50ms";
55 RestartMaxDelaySec = "5s";
56 RestartSteps = 4;
57 StartLimitBurst = 10;
58 }; 60 };
59 sops.secrets."o2-password" = { 61 sops.secrets."o2-password" = {
60 format = "binary"; 62 format = "binary";