48 lines
835 B
Nix
48 lines
835 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.nas-apps.homepage = {
|
|
enable = mkEnableOption "homepage docker service";
|
|
|
|
autoStart = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
|
|
httpPort = mkOption {
|
|
type = types.str;
|
|
default = "3030";
|
|
};
|
|
|
|
name = mkOption {
|
|
type = types.str;
|
|
default = "homepage";
|
|
};
|
|
|
|
image = mkOption {
|
|
type = types.str;
|
|
default = " ghcr.io/gethomepage/homepage";
|
|
};
|
|
|
|
configPath = mkOption {
|
|
type = types.str;
|
|
default = "/home/admin/ssd/ssd_app_data/homepage";
|
|
};
|
|
|
|
puid = mkOption {
|
|
type = types.str;
|
|
default = "911";
|
|
};
|
|
|
|
pgid = mkOption {
|
|
type = types.str;
|
|
default = "1000";
|
|
};
|
|
|
|
timeZone = mkOption {
|
|
type = types.str;
|
|
default = "America/Chicago";
|
|
};
|
|
};
|
|
}
|