blob: a1ebb61a047f90e3dc0fe9a1c72851a2f7011e7b [file] [log] [blame]
{ config, ... }: {
services.cloudflare-dyndns = {
enable = true;
proxied = false;
ipv4 = true;
ipv6 = false;
domains = [ "d1.a1.crawling.us" ];
apiTokenFile = config.sops.secrets.cloudflare_ddns__api_token.path;
};
sops.secrets.cloudflare_ddns__api_token = {
mode = "0600";
owner = config.users.users.root.name;
group = config.users.users.root.group;
sopsFile = ../../secrets/cloudflare-ddns.env.bin;
format = "binary";
};
}