inputs: { ... }: { services.onlyoffice = { enable = true; hostname = "localhost"; port = 3005; }; services.nginx.virtualHosts."localhost".listen = [ { addr = "127.0.0.1"; port = 3005; } ]; }