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

14 lines
360 B
Nix
Raw Normal View History

2024-01-31 20:26:11 +01:00
{ config, ... }: {
sops.secrets.porkbun_secrets.sopsFile = ./secrets.yaml;
security.acme.acceptTerms = true;
security.acme.defaults = {
2024-02-12 14:32:59 +01:00
email = "acme@moonythm.dev";
2024-01-31 20:26:11 +01:00
dnsProvider = "porkbun";
environmentFile = config.sops.secrets.porkbun_secrets.path;
};
environment.persistence."/persist/state".directories = [
"/var/lib/acme"
];
2024-01-31 20:26:11 +01:00
}