59 lines
1018 B
Nix
Executable File
59 lines
1018 B
Nix
Executable File
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.netbootxyz = {
|
|
enable = mkEnableOption "netbootxyz docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
port = mkOption {
|
|
type = types.str;
|
|
default = "3000";
|
|
};
|
|
|
|
port2 = mkOption {
|
|
type = types.str;
|
|
default = "8080";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "netbootxyz";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "ghcr.io/netbootxyz/netbootxyz";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/ssd/nix-app-data/netbootxyz";
|
|
};
|
|
|
|
assetsPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/main/isos";
|
|
};
|
|
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
};
|
|
}
|