24 lines
395 B
Nix
24 lines
395 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}") [
|
|
"cloud"
|
|
"git"
|
|
"mail"
|
|
"office"
|
|
"paste"
|
|
"play"
|
|
"vpn"
|
|
];
|
|
};
|
|
}
|