From 54829d73659b9740acece17bcc816fe3bfb6537d Mon Sep 17 00:00:00 2001 From: nydragon Date: Sun, 2 Feb 2025 20:39:40 +0100 Subject: [PATCH] feat: add hedgedoc --- hosts/raptus/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/raptus/default.nix b/hosts/raptus/default.nix index 95bf824..10a720e 100644 --- a/hosts/raptus/default.nix +++ b/hosts/raptus/default.nix @@ -111,6 +111,7 @@ in clientMaxBodySize = "100M"; virtualHosts = builtins.listToAttrs [ (mkVHost "rusty.ccnlc.eu" 8000 true) + (mkVHost "hedgedoc.ccnlc.eu" 4739 true) ]; }; @@ -121,5 +122,15 @@ in }; }; + services.hedgedoc = { + enable = true; + settings = { + domain = "hedgedoc.ccnlc.eu"; + host = "0.0.0.0"; + port = 4739; + protocolUseSSL = true; + }; + }; + system.stateVersion = "24.11"; }