2024-10-15 17:46:44 -04:00
|
|
|
{ pkgs, config, ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-08-30 01:17:50 -04:00
|
|
|
services.ddclient = {
|
2024-08-24 22:16:51 -04:00
|
|
|
enable = true;
|
|
|
|
protocol = "cloudflare";
|
|
|
|
use = "web, web=https://ipinfo.io/ip";
|
2024-10-24 23:42:09 -04:00
|
|
|
zone = "${config.domains.jim1}";
|
2024-08-24 22:16:51 -04:00
|
|
|
username = "token";
|
2024-10-15 17:46:44 -04:00
|
|
|
passwordFile = "${pkgs.writeText "cloudflareapikey" config.secrets.flareApiKey}";
|
2024-08-24 22:16:51 -04:00
|
|
|
domains = [
|
2024-10-24 23:42:09 -04:00
|
|
|
"${config.domains.jim1}"
|
|
|
|
"*.${config.domains.jim1}"
|
|
|
|
"sv.${config.domains.jim1}"
|
|
|
|
"git.${config.domains.jim1}"
|
|
|
|
"turn.${config.domains.jim1}"
|
|
|
|
"dew.${config.domains.jim1}"
|
|
|
|
"john.${config.domains.jim1}"
|
|
|
|
"beta.${config.domains.jim1}"
|
|
|
|
"rogue.${config.domains.jim1}"
|
2024-08-24 22:16:51 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|