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"; }