From 2788edf8f6ddc0a5ccd141db51321cd21abb5adf Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 6 Feb 2023 18:08:33 +0900 Subject: feat: merge colmena to nixos --- colmena/cobalt/services/acme.nix | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 colmena/cobalt/services/acme.nix (limited to 'colmena/cobalt/services/acme.nix') diff --git a/colmena/cobalt/services/acme.nix b/colmena/cobalt/services/acme.nix deleted file mode 100644 index b41ae1c..0000000 --- a/colmena/cobalt/services/acme.nix +++ /dev/null @@ -1,26 +0,0 @@ -let - poorObfuscation = y: x: "${x}@${y}"; -in -{ - security.acme = { - acceptTerms = true; - defaults.email = poorObfuscation "sefidel.com" "postmaster"; - certs = { - "sefidel.com" = { - domain = "*.sefidel.com"; - dnsProvider = "hetzner"; - dnsPropagationCheck = true; - credentialsFile = "/persist/secrets/hetzner.key"; - }; - }; - }; - - environment.persistence."/persist".directories = [ - "/var/lib/acme" - ]; - - deployment.keys."hetzner.key" = { - keyCommand = [ "pass" "show" "server/hetzner-dns" ]; - destDir = "/persist/secrets"; - }; -} -- cgit 1.4.1