diff --git a/hosts/carbon/configuration.nix b/hosts/carbon/configuration.nix index 849e5fe..d9111b7 100644 --- a/hosts/carbon/configuration.nix +++ b/hosts/carbon/configuration.nix @@ -141,6 +141,16 @@ }; }; + # ppp session freezes when running long, so we just restart it regularly + # (this is an industry standard, looking at you Fritz!Box!) + systemd.services."pppd-ntvdsl-restart" = { + path = [ "systemctl" ]; + script = '' + systemctl restart pppd-ntvdsl.service + ''; + startAt = "*-*-* 03:00:00"; + }; + # Routing tables # Table: 10000