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