summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/homeserver/acme.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/profiles/homeserver/acme.nix b/profiles/homeserver/acme.nix
index a30e395..8b2a1e9 100644
--- a/profiles/homeserver/acme.nix
+++ b/profiles/homeserver/acme.nix
@@ -2,12 +2,14 @@
security.acme = {
acceptTerms = true;
defaults = {
- # NOTE(ivi): use dns wildcard certs for local services
- domain = "*.vinkies.net";
extraLegoRunFlags = ["--preferred-chain" "ISRG Root X1"];
email = ivi.email;
dnsProvider = "porkbun";
- credentialsFile = config.secrets.porkbun.path;
+ environmentFile = config.secrets.porkbun.path;
+ };
+ certs."vinkies.net" = {
+ # NOTE(ivi): use dns wildcard certs for local services
+ domain = "*.vinkies.net";
};
};
}