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

16 lines
259 B
Nix

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