43 lines
933 B
Nix
43 lines
933 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.homelab;
|
|
in {
|
|
options.homelab = {
|
|
enable = lib.mkEnableOption "enable homelab services and configuration";
|
|
tz = lib.mkOption {
|
|
default = "America/Chicago";
|
|
type = lib.types.str;
|
|
description = "set timezone";
|
|
};
|
|
base_domain = lib.mkOption {
|
|
default = "lumiose.holocron.blue";
|
|
type = lib.types.str;
|
|
description = "base domain used for reverse proxy";
|
|
};
|
|
public_domain = lib.mkOption {
|
|
default = "holocron.blue";
|
|
type = lib.types.str;
|
|
description = "public domain used for reverse proxy";
|
|
};
|
|
host_ip = lib.mkOption {
|
|
default = "10.10.0.11";
|
|
type = lib.types.str;
|
|
description = "base ip used for reverse proxy";
|
|
};
|
|
};
|
|
|
|
# the order determines the order in glance :3
|
|
imports = [
|
|
#./ai
|
|
./mediastack
|
|
./services
|
|
./system
|
|
#./nomad
|
|
./network
|
|
];
|
|
}
|