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;
|
|
|
|
};
|
2024-02-02 02:42:03 +01:00
|
|
|
|
|
|
|
environment.persistence."/persist/state".directories = [
|
|
|
|
"/var/lib/acme"
|
|
|
|
];
|
2024-01-31 20:26:11 +01:00
|
|
|
}
|