fix(ddclient): use config changes

This commit is contained in:
arcnmx 2024-06-13 14:35:36 -07:00
parent 691ffc1797
commit f85e117878

View file

@ -13,9 +13,8 @@ in {
username = mkDefault "token"; username = mkDefault "token";
protocol = mkDefault "cloudflare"; protocol = mkDefault "cloudflare";
zone = mkDefault config.networking.domain; zone = mkDefault config.networking.domain;
use = "no";
usev6 = mkIf config.networking.enableIPv6 (mkDefault "webv6, webv6=https://ipv6.nsupdate.info/myip"); usev6 = mkIf config.networking.enableIPv6 (mkDefault "webv6, webv6=https://ipv6.nsupdate.info/myip");
usev4 = mkDefault "webv4, webv6=https://ipv6.nsupdate.info/myip"; usev4 = mkDefault "webv4, webv4=https://ipv4.nsupdate.info/myip";
domains = []; domains = [];
extraConfig = '' extraConfig = ''
max-interval=1d max-interval=1d