nix-config/hosts/common/global/acme.nix
2023-09-19 13:05:08 -04:00

16 lines
270 B
Nix

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