1
Fork 0
satellite/hosts/nixos/common/optional/services/acme/default.nix

15 lines
397 B
Nix

{ config, ... }: {
sops.secrets.porkbun_secrets.sopsFile = ./secrets.yaml;
security.acme.acceptTerms = true;
security.acme.defaults = {
# TODO: update this email
email = "rafaeladriel11@gmail.com";
dnsProvider = "porkbun";
environmentFile = config.sops.secrets.porkbun_secrets.path;
};
environment.persistence."/persist/state".directories = [
"/var/lib/acme"
];
}