nix-config/nixos/_mixins/global/acme.nix

17 lines
259 B
Nix
Raw Normal View History

_:
{
# Enable acme for usage with nginx vhosts
security.acme = {
2023-09-19 17:05:08 +00:00
defaults.email = "greg+acme@burd.me";
acceptTerms = true;
};
environment.persistence = {
"/persist" = {
directories = [
"/var/lib/acme"
];
};
};
}