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