From 1b3682f188f17690740e06797ac53a99cb0920c3 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 14 Mar 2024 14:52:24 +0100 Subject: [PATCH] Onlyoffice was also running on port 8000, fixed that --- nixos/server/package-configs/default.nix | 2 +- nixos/server/package-configs/nextcloud/default.nix | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/server/package-configs/default.nix b/nixos/server/package-configs/default.nix index be65609..3b2ddc4 100644 --- a/nixos/server/package-configs/default.nix +++ b/nixos/server/package-configs/default.nix @@ -7,7 +7,7 @@ ... }: { imports = [ - # ./conduit + ./conduit ./forgejo ./gotosocial ./mail-server diff --git a/nixos/server/package-configs/nextcloud/default.nix b/nixos/server/package-configs/nextcloud/default.nix index 47885b1..7ad320e 100644 --- a/nixos/server/package-configs/nextcloud/default.nix +++ b/nixos/server/package-configs/nextcloud/default.nix @@ -11,9 +11,9 @@ sops.secrets."local.json".owner = config.users.users.onlyoffice.name; users.users = { - nextcloud.extraGroups = [config.users.groups.keys.name "onlyoffice"]; + nextcloud.extraGroups = [config.users.groups.keys.name config.users.users.onlyoffice.name]; #aria2.extraGroups = ["nextcloud"]; - onlyoffice.extraGroups = ["nextcloud"]; + onlyoffice.extraGroups = [config.users.users.nextcloud.name]; }; # Enable Nginx @@ -91,6 +91,7 @@ }; services.onlyoffice = { + port = 16783; enable = true; hostname = "onlyoffice.gladtherescake.eu"; #postgresHost = "/run/postgesql";