nix-config/nixos/_mixins/global/acme.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

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"
];
};
};
}