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