Merge pull request #214702 from Tom-Hubrecht/onlyoffice

Sandro 9ee0410a dff309ee

Changed files
+5
nixos
modules
services
web-apps
+5
nixos/modules/services/web-apps/onlyoffice.nix
···
cp -r ${cfg.package}/etc/onlyoffice/documentserver/* /run/onlyoffice/config/
chmod u+w /run/onlyoffice/config/default.json
+
# Allow members of the onlyoffice group to serve files under /var/lib/onlyoffice/documentserver/App_Data
+
chmod g+x /var/lib/onlyoffice/documentserver
+
cp /run/onlyoffice/config/default.json{,.orig}
# for a mapping of environment variables from the docker container to json options see
···
group = "onlyoffice";
isSystemUser = true;
};
+
+
nginx.extraGroups = [ "onlyoffice" ];
};
users.groups.onlyoffice = { };