24 lines
666 B
Nix
24 lines
666 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
services.ddclient = {
|
|
enable = true;
|
|
protocol = "cloudflare";
|
|
use = "web, web=https://ipinfo.io/ip";
|
|
zone = "${config.domains.jim1}";
|
|
username = "token";
|
|
passwordFile = "${pkgs.writeText "cloudflareapikey" config.secrets.flareApiKey}";
|
|
domains = [
|
|
"${config.domains.jim1}"
|
|
"*.${config.domains.jim1}"
|
|
"sv.${config.domains.jim1}"
|
|
"git.${config.domains.jim1}"
|
|
"rtmp.${config.domains.jim1}"
|
|
"turn.${config.domains.jim1}"
|
|
"dew.${config.domains.jim1}"
|
|
"john.${config.domains.jim1}"
|
|
"beta.${config.domains.jim1}"
|
|
"rogue.${config.domains.jim1}"
|
|
];
|
|
};
|
|
}
|