48 lines
806 B
Nix
48 lines
806 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.onlyoffice = {
|
|
enable = mkEnableOption "onlyoffice docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
port = mkOption {
|
|
type = types.str;
|
|
default = "9980";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "onlyoffice";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "onlyoffice/documentserver";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
|
|
jwtSecret = mkOption {
|
|
type = types.str;
|
|
default = "BogieDudie1";
|
|
};
|
|
};
|
|
}
|