From 944a1a4ebf0920e749d7f1f7a2322960b0ca00fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Fri, 8 Aug 2025 17:06:31 +0200 Subject: [PATCH] feat: setup nextcloud whiteboard server --- void.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/void.nix b/void.nix index 13ead38..41c6eaf 100644 --- a/void.nix +++ b/void.nix @@ -335,6 +335,13 @@ configureRedis = true; maxUploadSize = "64G"; }; + services.nextcloud-whiteboard-server = { + enable = true; + secrets = ["/etc/nixos/secrets/nextcloud/whiteboard_secrets"]; + settings = { + NEXTCLOUD_URL = "https://nextcloud.005540.xyz"; + }; + }; # dynamic dns services.ddclient = { @@ -446,6 +453,10 @@ }; "nextcloud.005540.xyz" = { locations."/".proxyWebsockets = true; + locations."/whiteboard/" = { + proxyWebsockets = true; + proxyPass = "http://localhost:3002/"; + }; enableACME = true; forceSSL = true; };