From 13073b696b53d6366235e019fba78c2a7ddf5614 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 23 Nov 2024 21:17:37 -0600 Subject: [PATCH] feat: removed dumb services --- config/instances/config/castopod.nix | 26 ------------------------- config/instances/config/wiki.nix | 26 ------------------------- config/instances/config/writefreely.nix | 24 ----------------------- nixos/modules/services/acme.nix | 3 --- 4 files changed, 79 deletions(-) delete mode 100755 config/instances/config/castopod.nix delete mode 100755 config/instances/config/wiki.nix delete mode 100755 config/instances/config/writefreely.nix diff --git a/config/instances/config/castopod.nix b/config/instances/config/castopod.nix deleted file mode 100755 index 1d04eb5..0000000 --- a/config/instances/config/castopod.nix +++ /dev/null @@ -1,26 +0,0 @@ -{instancesFunctions}: let - inherit (instancesFunctions) domain1 servicePath sslPath sopsPath; - castopodLabel = "Castopod"; - castopodName = "castopod"; - castopodSubdomain = "podcast"; -in { - label = castopodLabel; - name = castopodName; - email = { - address0 = "noreply@${castopodSubdomain}.${domain1}"; - }; - sops = { - path0 = "${sopsPath}/${castopodName}"; - }; - subdomain = castopodSubdomain; - paths = { - path0 = "${servicePath}/${castopodLabel}"; - }; - ports = { - port0 = 8000; - }; - ssl = { - cert = "${sslPath}/${castopodSubdomain}.${domain1}/fullchain.pem"; - key = "${sslPath}/${castopodSubdomain}.${domain1}/key.pem"; - }; -} diff --git a/config/instances/config/wiki.nix b/config/instances/config/wiki.nix deleted file mode 100755 index fdfc258..0000000 --- a/config/instances/config/wiki.nix +++ /dev/null @@ -1,26 +0,0 @@ -{instancesFunctions}: let - inherit (instancesFunctions) domain1 servicePath sslPath sopsPath varLib; - - wikiLabel = "Wiki-js"; - wikiName = "wiki-js"; - wikiSubdomain = "vault"; -in { - label = wikiLabel; - name = wikiName; - sops = { - path0 = "${sopsPath}/${wikiName}"; - }; - subdomain = wikiSubdomain; - paths = { - path0 = "${servicePath}/${wikiLabel}"; - path1 = "${varLib}/DataDir"; - }; - ports = { - port0 = 3000; - port1 = 5432; - }; - ssl = { - cert = "${sslPath}/${wikiSubdomain}.${domain1}/fullchain.pem"; - key = "${sslPath}/${wikiSubdomain}.${domain1}/key.pem"; - }; -} diff --git a/config/instances/config/writefreely.nix b/config/instances/config/writefreely.nix deleted file mode 100755 index 6a47b5f..0000000 --- a/config/instances/config/writefreely.nix +++ /dev/null @@ -1,24 +0,0 @@ -{instancesFunctions}: let - inherit (instancesFunctions) domain1 servicePath sslPath sopsPath; - - writefreelyLabel = "WriteFreely"; - writefreelyName = "writefreely"; - writefreelySubdomain = "blog"; -in { - label = writefreelyLabel; - name = writefreelyName; - sops = { - path0 = "${sopsPath}/${writefreelyName}"; - }; - subdomain = writefreelySubdomain; - paths = { - path0 = "${servicePath}/${writefreelyLabel}/BackupDir"; - }; - ports = { - port0 = 8093; - }; - ssl = { - cert = "${sslPath}/${writefreelySubdomain}.${domain1}/fullchain.pem"; - key = "${sslPath}/${writefreelySubdomain}.${domain1}/key.pem"; - }; -} diff --git a/nixos/modules/services/acme.nix b/nixos/modules/services/acme.nix index d75c42d..3cd641e 100755 --- a/nixos/modules/services/acme.nix +++ b/nixos/modules/services/acme.nix @@ -40,14 +40,11 @@ in { value = dnsConfig; }) [ - "wiki" "nextcloud" - "castopod" "forgejo" "matrix" "owncast" "peertube" - "writefreely" ]) ++ (map (name: { name = name;