server/services/acme.nix
2024-10-07 15:32:17 +01:00

17 lines
282 B
Nix
Executable File

{ config, ... }:
{
# Configure automated TLS acquisition/renewal
security.acme = {
acceptTerms = true;
defaults = {
email = "maddie@spyhoodle.me";
};
};
# ACME data must be readable by the NGINX user
users.users.nginx.extraGroups = [
"acme"
];
}