68 lines
1.2 KiB
Nix
68 lines
1.2 KiB
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.sabnzbd = {
|
|
enable = mkEnableOption "sabnzbd docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
port = mkOption {
|
|
type = types.str;
|
|
default = "8080";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "sabnzbd";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "linuxserver/sabnzbd";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/ssd/ssd_app_data/sabnzbd";
|
|
};
|
|
|
|
moviesPath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/mainpool/Movies";
|
|
};
|
|
|
|
tvPath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/mainpool/TV";
|
|
};
|
|
|
|
downloadsPath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/ssd/ssd_app_data/downloads";
|
|
};
|
|
|
|
downloadsIncompletePath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/ssd/ssd_app_data/downloads-incomplete";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
};
|
|
}
|