48 lines
811 B
Nix
48 lines
811 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.beszel = {
|
|
enable = mkEnableOption "beszel docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
httpPort = mkOption {
|
|
type = types.str;
|
|
default = "8090";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "beszel";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = "henrygd/beszel";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/ssd/nix-app-data/beszel";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
};
|
|
}
|