random test

This commit is contained in:
= 2025-01-19 15:11:59 +01:00
parent 03def204c7
commit 700bca41c3
8 changed files with 254 additions and 51 deletions

View file

@ -25,6 +25,10 @@ in
owner = config.services.caddy.user;
group = config.services.caddy.group;
};
ddclient = {
file = ../../secrets/ddclient.age;
mode = "400";
};
};
my = {
@ -40,7 +44,7 @@ in
settings = import ./dashy-settings.nix;
proxy = {
enable = true;
domain = tsDomain;
domain = publicDomain;
host = "caddy.internal";
};
};
@ -110,6 +114,7 @@ in
caddy = {
enable = true;
configEnvFile = config.age.secrets.cloudflare-pasetto-apiKey.path;
domainsList = [
{
domain = tsDomain;
@ -122,6 +127,17 @@ in
cloudflareApiKeyFile = config.age.secrets.cloudflare-pasetto-apiKey.path;
}
];
dynamicdnsDomains = [
{
domain = publicDomain;
cloudflareApiEnvName = "CLOUDFLARE_API_TOKEN";
}
];
};
ddclient = {
enable = false;
configFile = config.age.secrets.ddclient.path;
};
};