nb
This commit is contained in:
@@ -4,15 +4,21 @@ with lib;
|
||||
options.${namespace}.services.netbootxyz = {
|
||||
enable = mkEnableOption "netbootxyz network boot service";
|
||||
|
||||
httpPort = mkOption {
|
||||
webPort = mkOption {
|
||||
type = types.port;
|
||||
default = 4000;
|
||||
description = "HTTP port for netbootxyz";
|
||||
};
|
||||
|
||||
httpsPort = mkOption {
|
||||
assetPort = mkOption {
|
||||
type = types.port;
|
||||
default = 4080;
|
||||
default = 4001;
|
||||
description = "NGINX server for hosting assets.";
|
||||
};
|
||||
|
||||
tftpPort = mkOption {
|
||||
type = types.port;
|
||||
default = 69;
|
||||
description = "HTTPS port for netbootxyz";
|
||||
};
|
||||
|
||||
@@ -24,8 +30,14 @@ with lib;
|
||||
|
||||
dataDir = mkOption {
|
||||
type = types.str;
|
||||
default = "/var/lib/netbootxyz";
|
||||
default = "/media/nas/main/nix-app-data/netbootxyz";
|
||||
description = "Data directory for netbootxyz";
|
||||
};
|
||||
|
||||
assetDir = mkOption {
|
||||
type = types.str;
|
||||
default = "/media/nas/main/isos";
|
||||
description = "Asset directory for netbootxyz";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user