diff --git a/systems/mio-mio-mate/default.nix b/systems/mio-mio-mate/default.nix index 16363bf..7c8abe1 100644 --- a/systems/mio-mio-mate/default.nix +++ b/systems/mio-mio-mate/default.nix @@ -56,6 +56,13 @@ proxyPass = "http://localhost:8080/"; }; }; + "pad.missing.ninja" = { + locations."/".proxyPass = "http://localhost:3333"; + locations."/socket.io/" = { + proxyPass = "http://localhost:3333"; + proxyWebsockets = true; + }; + }; }; }; @@ -202,4 +209,18 @@ }; networking.firewall.allowPing = true; + + services.hedgedoc = { + enable = true; + settings = { + db = { + dialect = "sqlite"; + torage = "/var/lib/hedgedoc/db.hedgedoc.sqlite"; + }; + domain = "pad.it3"; + port = 3333; + useSSL = false; + protocolUseSSL = false; + }; + }; }