53 lines
972 B
Nix
53 lines
972 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.deluge = {
|
|
enable = mkEnableOption "deluge docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "deluge";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "binhex/arch-delugevpn";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/ssd/nix-app-data/deluge";
|
|
};
|
|
|
|
moviesPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/ssd/ssd_app_data/downloads";
|
|
};
|
|
|
|
tvPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/ssd/ssd_app_data/downloads-incomplete";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "0";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "0";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
};
|
|
}
|