nix-config/hosts/common/global/acme.nix

17 lines
270 B
Nix
Raw Normal View History

{ lib, ... }:
{
# 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"
];
};
};
}