Sovran_SystemsOS/modules/onlyoffice.nix

17 lines
310 B
Nix

{config, pkgs, lib, ...}:
let
personalization = import ./personalization.nix;
in
{
services.onlyoffice = {
enable = true;
jwtSecretFile = "${personalization.age.secrets.onlyofficejwtSecretFile.file}";
};
services.nginx.defaultSSLListenPort = 9443;
services.nginx.defaultHTTPListenPort = 9080;
}