diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ddns.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/ddns.nix b/modules/ddns.nix index c24ac87..253e3e4 100644 --- a/modules/ddns.nix +++ b/modules/ddns.nix @@ -23,4 +23,12 @@ in domains = [ "${me.name}.${domain}" ]; passwordFile = config.age.secrets.cloudflare-dns.path; }; + + systemd.services.ddclient = { + # ddclient likes failing the whole process when + # one part of the operation did not succeed, like + # setting the A record, which i do not want anyway. + # treat these failures as a success: + serviceConfig.SuccessExitStatus = [ 0 1 ]; + }; } |
