From 38c91175518f8d3a3343410b744a26a8e9ebd21a Mon Sep 17 00:00:00 2001 From: stitchy Date: Sat, 21 Dec 2024 19:18:43 -0800 Subject: [PATCH] feat(tanzanite): acme cert configuration --- hosts/tanzanite/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index a475a20..2af54d3 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -17,6 +17,16 @@ in { data-root = "/opt/data"; }; }; + security.acme = { + acceptTerms = true; + defaults.email = "stitchy@stitchy.moe"; + defaults.dnsProvider = "porkbun"; + defaults.environmentFile = "/persist/acme/porkbun.tokens"; + certs = { + }; + }; + + }; networking.firewall = { allowedTCPPorts = [ 22 80 222 443 ];