about summary refs log tree commit diff
path: root/nixos/cobalt/services/acme.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/cobalt/services/acme.nix')
-rw-r--r--nixos/cobalt/services/acme.nix33
1 files changed, 0 insertions, 33 deletions
diff --git a/nixos/cobalt/services/acme.nix b/nixos/cobalt/services/acme.nix
deleted file mode 100644
index f8816d4..0000000
--- a/nixos/cobalt/services/acme.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ config, ... }:
-
-let
-  poorObfuscation = y: x: "${x}@${y}";
-in
-{
-  sops.secrets.hetzner-dns-key = {
-    owner = "acme";
-  };
-
-  security.acme = {
-    acceptTerms = true;
-    defaults.email = poorObfuscation "sefidel.com" "postmaster";
-    certs = {
-      "sefidel.com" = {
-        domain = "sefidel.com";
-        extraDomainNames = [
-          "bouncer.sefidel.com"
-          "git.sefidel.com"
-          "matrix.sefidel.com"
-          "social.sefidel.com"
-        ];
-        dnsProvider = "hetzner";
-        dnsPropagationCheck = true;
-        credentialsFile = config.sops.secrets.hetzner-dns-key.path;
-      };
-    };
-  };
-
-  environment.persistence."/persist".directories = [
-    "/var/lib/acme"
-  ];
-}