nix/host/x86_64-linux/home/Ddns.nix
2024-12-07 04:48:30 +03:00

25 lines
405 B
Nix

{ ... }: {
services.cloudflare-dyndns = {
enable = true;
apiTokenFile = "/storage/hot/data/CfToken";
deleteMissing = false;
ipv4 = true;
ipv6 = true;
proxied = false;
domains = let
domain = "voronind.com";
in [
domain
] ++ map (sub: "${sub}.${domain}") [
"chat"
"cloud"
"git"
"mail"
"office"
"paste"
"play"
"vpn"
];
};
}