23 lines
653 B
Nix
23 lines
653 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
services.ddclient = {
|
|
enable = config.system.server.enable;
|
|
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}"
|
|
"turn.${config.domains.jim1}"
|
|
"dew.${config.domains.jim1}"
|
|
"john.${config.domains.jim1}"
|
|
"beta.${config.domains.jim1}"
|
|
"rogue.${config.domains.jim1}"
|
|
];
|
|
};
|
|
}
|