1
0
Fork 0
dotfiles/system/nixos/acme-mediaserver.nix

29 lines
642 B
Nix
Raw Permalink Normal View History

2023-04-14 13:20:51 +00:00
{ config, ... }:
{
security.acme = {
acceptTerms = true;
defaults = {
email = "acme@kempkens.io";
group = "nginx";
dnsProvider = "cloudflare";
credentialsFile = config.age.secrets.acme-credentials.path;
dnsResolver = "1.1.1.1:53";
dnsPropagationCheck = true;
reloadServices = [ "nginx.service" ];
};
certs = {
"internal.kempkens.network" = {
domain = "*.internal.kempkens.network";
extraDomainNames = [ "jellyfin.home.kempkens.io" ];
};
2024-05-22 20:57:56 +00:00
"dns.kempkens.network" = {
extraDomainNames = [ "*.dns.kempkens.network" ];
};
2023-04-14 13:20:51 +00:00
};
};
}