2024-10-09 03:36:08 -04:00
|
|
|
{ pkgs, outputs, ... }:
|
|
|
|
{
|
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-08-30 01:17:50 -04:00
|
|
|
zone = "${outputs.secrets.jimDomain}";
|
2024-08-24 22:16:51 -04:00
|
|
|
username = "token";
|
2024-08-30 01:17:50 -04:00
|
|
|
passwordFile = "${pkgs.writeText "cloudflareapikey" outputs.secrets.flareApiKey}";
|
2024-08-24 22:16:51 -04:00
|
|
|
domains = [
|
2024-08-30 01:17:50 -04:00
|
|
|
"${outputs.secrets.jimDomain}"
|
|
|
|
"*.${outputs.secrets.jimDomain}"
|
2024-09-28 02:39:50 -04:00
|
|
|
"sv.${outputs.secrets.jimDomain}"
|
2024-08-30 01:17:50 -04:00
|
|
|
"git.${outputs.secrets.jimDomain}"
|
|
|
|
"rtmp.${outputs.secrets.jimDomain}"
|
2024-09-10 15:07:31 -04:00
|
|
|
"turn.${outputs.secrets.jimDomain}"
|
2024-09-28 02:39:50 -04:00
|
|
|
"dew.${outputs.secrets.jimDomain}"
|
|
|
|
"john.${outputs.secrets.jimDomain}"
|
|
|
|
"beta.${outputs.secrets.jimDomain}"
|
|
|
|
"rogue.${outputs.secrets.jimDomain}"
|
2024-08-24 22:16:51 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|