73 lines
1.2 KiB
Nix
73 lines
1.2 KiB
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.swag = {
|
|
enable = mkEnableOption "swag docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
httpPort = mkOption {
|
|
type = types.int;
|
|
default = 80;
|
|
};
|
|
|
|
httpsPort = mkOption {
|
|
type = types.int;
|
|
default = 443;
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "swag";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "linuxserver/swag";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/home/admin/ssd/ssd_app_data/swag";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
|
|
email = mkOption {
|
|
type = types.str;
|
|
default = "jalle008@proton.me";
|
|
};
|
|
|
|
url = mkOption {
|
|
type = types.str;
|
|
default = "mjallen.dev";
|
|
};
|
|
|
|
validation = mkOption {
|
|
type = types.str;
|
|
default = "http";
|
|
};
|
|
|
|
subdomains = mkOption {
|
|
type = types.str;
|
|
default = "jellyfin,jellyseerr,cloud,office,chat,hass";
|
|
};
|
|
};
|
|
}
|