{ config, ... }: { virtualisation.oci-containers.containers.onlyoffice = { image = "onlyoffice/documentserver:latest"; ports = ["9980:80"]; environment = { USE_UNAUTHORIZED_STORAGE = "true"; }; environmentFiles = [ config.sops.secrets."jallen-nas/onlyoffice-key".path ]; }; # services.collabora-online = { # enable = false; # port = 9980; # }; # services.onlyoffice = { # enable = true; # port = 9980; # hostname = "office.mjallen.dev"; # }; # users.users.onlyoffice.isSystemUser = true; # users.users.onlyoffice.isNormalUser = false; }