Open hatch01 opened 1 month ago
I tried to add this which according to this line
environment.sessionVariables = {
ALLOW_META_IP_ADDRESS = "true";
ALLOW_PRIVATE_IP_ADDRESS = "true";
};
But this does not seem to have any effect.
We are doing some hacky stuff at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-apps/onlyoffice.nix#L220-L259
we probably need to add a new option, to generally patch that file.
Describe the bug
I am unable to edit the
/run/onlyoffice/config/default.json
file to configure onlyoffice documentserver through nix parameters. And if I edit it manually, it is overwritten on each reboot.Steps To Reproduce
Steps to reproduce the behavior:
services.onlyoffice = {enable = true; hostname = "localhost";};
/run/onlyoffice/config/default.json
Expected behavior
Being able to configure the default.json file directly in the service config. It is a json file, so maybe it is possible to just set any parameters from the nix config to the json file with a simple conversion from nix to json.
Additional context
In my case, I need to modify these values :
Notify maintainers
@SuperSandro2000
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.