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

32 lines
580 B
Nix
Raw Normal View History

2023-03-05 22:02:49 +00:00
{ config, ... }:
{
security.acme = {
acceptTerms = true;
defaults = {
email = "acme@kempkens.io";
2023-03-05 22:54:42 +00:00
group = "nginx";
2023-03-05 22:02:49 +00:00
dnsProvider = "cloudflare";
credentialsFile = config.age.secrets.acme-credentials.path;
dnsResolver = "1.1.1.1:53";
dnsPropagationCheck = true;
2023-03-08 21:02:24 +00:00
reloadServices = [ "nginx.service" ];
2023-03-05 22:02:49 +00:00
};
2023-03-05 22:12:10 +00:00
certs = {
2023-03-06 14:25:59 +00:00
"kempkens.io" = {
domain = "*.kempkens.io";
};
2023-03-05 22:12:10 +00:00
"daniel.sx" = {
domain = "*.daniel.sx";
};
2023-03-06 11:06:59 +00:00
"nifoc.pw" = {
domain = "*.nifoc.pw";
};
2023-03-05 22:02:49 +00:00
};
};
}