58 lines
1015 B
Nix
58 lines
1015 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.jellyfin = {
|
|
enable = mkEnableOption "jellyfin docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
port = mkOption {
|
|
type = types.str;
|
|
default = "8096";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "jellyfin";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "lscr.io/linuxserver/jellyfin";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/ssd/nix-app-data/jellyfin";
|
|
};
|
|
|
|
moviesPath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/mainpool/Movies";
|
|
};
|
|
|
|
tvPath = mkOption {
|
|
type = types.str;
|
|
default = "/mnt/mainpool/TV";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
};
|
|
}
|