diff --git a/sys/srv/lib/default.nix b/sys/srv/lib/default.nix index 16900d7..6fce58d 100644 --- a/sys/srv/lib/default.nix +++ b/sys/srv/lib/default.nix @@ -9,7 +9,6 @@ ./bepasty.nix ./jellyfin.nix ./msmtp.nix - ./tiddlywiki.nix ./kuma.nix ]; } diff --git a/sys/srv/lib/tiddlywiki.nix b/sys/srv/lib/tiddlywiki.nix deleted file mode 100644 index 9cc7fe4..0000000 --- a/sys/srv/lib/tiddlywiki.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, pkgs, ... }: -with lib; -{ - - systemd.services.tiddlywiki.serviceConfig.LoadCredential = [ "credentials.csv:/var/trust/tiddlywiki/credentials.csv" ]; - - services = { - nginx = { - virtualHosts."testing.posixlycorrect.com" = { - enableACME = true; - forceSSL = true; - extraConfig = '' - proxy_headers_hash_max_size 512; - proxy_headers_hash_bucket_size 128; - ''; - locations."/" = { - proxyPass = "http://127.0.0.1:7456"; - }; - }; - }; - tiddlywiki = { - enable = true; - listenOptions = { - readers = "(anon)"; - writers = "(authenticated)"; - admin = "fabian"; - credentials = "/run/credentials/tiddlywiki.service/credentials.csv"; - host = "127.0.0.1"; - port = 7456; - }; - }; - }; -}