From 5f925a20a4166d6267f68c94a559c6aaedd00a9a Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 13 Jan 2024 11:52:57 +0100 Subject: [PATCH] hosts: server: enable onlyoffice --- modules/services/server/nextcloud.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/services/server/nextcloud.nix b/modules/services/server/nextcloud.nix index 24f9d7f..2f993d2 100644 --- a/modules/services/server/nextcloud.nix +++ b/modules/services/server/nextcloud.nix @@ -43,6 +43,11 @@ #autoUpdateApps.enable = true; }; + services.onlyoffice = { + enable = true; + hostname = "localhost"; + }; + services.redis = { vmOverCommit = true; servers.nextcloud = { @@ -59,6 +64,9 @@ enableACME = true; forceSSL = true; }; + "${config.services.onlyoffice.hostname}".listen = [ { + addr = "127.0.0.1"; port = 8080; + } ]; }; };