Skyler Grey | 5e2bc9e | 2023-08-24 21:58:52 +0000 | [diff] [blame] | 1 | { config, ... }: { |
| 2 | services.cloudflare-dyndns = { |
| 3 | enable = true; |
| 4 | proxied = false; |
| 5 | ipv4 = true; |
| 6 | ipv6 = false; |
Skyler Grey | 0009c5e | 2024-01-19 21:48:28 +0000 | [diff] [blame] | 7 | domains = [ "a1.clicks.domains" ]; |
Skyler Grey | 5e2bc9e | 2023-08-24 21:58:52 +0000 | [diff] [blame] | 8 | apiTokenFile = config.sops.secrets.cloudflare_ddns__api_token.path; |
| 9 | }; |
| 10 | |
| 11 | sops.secrets.cloudflare_ddns__api_token = { |
| 12 | mode = "0600"; |
| 13 | owner = config.users.users.root.name; |
| 14 | group = config.users.users.root.group; |
Samuel Shuert | f68685d | 2023-10-28 20:07:56 -0400 | [diff] [blame] | 15 | sopsFile = ../../secrets/cloudflare-ddns.env.bin; |
Skyler Grey | 5e2bc9e | 2023-08-24 21:58:52 +0000 | [diff] [blame] | 16 | format = "binary"; |
| 17 | }; |
| 18 | } |