nix/host/x86_64-linux/home/Ddns.nix

25 lines
405 B
Nix
Raw Normal View History

2024-12-02 21:12:45 +03:00
{ ... }: {
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}") [
2024-12-07 04:48:15 +03:00
"chat"
2024-12-02 21:12:45 +03:00
"cloud"
"git"
"mail"
"office"
"paste"
"play"
"vpn"
];
};
}