2025-04-30 01:10:02 +01:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2025-04-23 14:19:05 +01:00
|
|
|
{
|
2025-05-03 16:50:27 +01:00
|
|
|
options.homelab = {
|
2025-04-30 01:10:02 +01:00
|
|
|
enable = mkEnableOption "Enable homelab services and configuration";
|
|
|
|
|
2025-05-04 10:24:47 +01:00
|
|
|
cloudflared.tunnelId = mkOption {
|
|
|
|
example = "00000000-0000-0000-0000-000000000000";
|
|
|
|
type = types.str;
|
|
|
|
};
|
|
|
|
|
2025-05-03 01:13:51 +01:00
|
|
|
domain = mkOption {
|
2025-04-30 01:10:02 +01:00
|
|
|
description = "The base domain to use for this homelab.";
|
|
|
|
type = types.str;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2025-04-23 14:19:05 +01:00
|
|
|
imports = [
|
|
|
|
./acme.nix
|
|
|
|
./audiobookshelf.nix
|
|
|
|
./cloudflared.nix
|
|
|
|
./containers
|
|
|
|
./forgejo.nix
|
2025-05-03 20:40:47 +01:00
|
|
|
./home-assistant.nix
|
2025-04-23 14:19:05 +01:00
|
|
|
./immich.nix
|
|
|
|
./jellyfin.nix
|
|
|
|
./nginx
|
|
|
|
./paperless.nix
|
2025-05-05 02:59:56 +01:00
|
|
|
./peertube.nix
|
2025-04-23 14:19:05 +01:00
|
|
|
];
|
|
|
|
}
|