58 lines
1013 B
Nix
58 lines
1013 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.nextcloud = {
|
|
enable = mkEnableOption "nextcloud docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
httpPort = mkOption {
|
|
type = types.str;
|
|
default = "80";
|
|
};
|
|
|
|
httpsPort = mkOption {
|
|
type = types.str;
|
|
default = "443";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "nextcloud";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "linuxserver/nextcloud";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/ssd/ssd_app_data/nextcloud";
|
|
};
|
|
|
|
dataPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/main/nextcloud";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
};
|
|
}
|