2024-06-25 22:45:00 +07:00
|
|
|
{ config, lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib) mkOption mkEnableOption types;
|
|
|
|
in
|
2024-06-12 18:09:56 +07:00
|
|
|
{
|
|
|
|
options.profile.podman = {
|
|
|
|
enable = lib.mkEnableOption "podman";
|
2024-06-14 12:21:05 +07:00
|
|
|
caddy.enable = lib.mkEnableOption "caddy podman";
|
2024-06-17 01:06:03 +07:00
|
|
|
pihole.enable = lib.mkEnableOption "pihole podman";
|
2024-06-17 19:54:36 +07:00
|
|
|
suwayomi.enable = lib.mkEnableOption "suwayomi podman";
|
2024-06-17 21:49:20 +07:00
|
|
|
ytptube.enable = lib.mkEnableOption "metube podman";
|
2024-06-18 19:18:44 +07:00
|
|
|
redmage.enable = lib.mkEnableOption "redmage podman";
|
|
|
|
redmage-demo.enable = lib.mkEnableOption "redmage-demo podman";
|
2024-06-18 20:24:28 +07:00
|
|
|
qbittorrent.enable = lib.mkEnableOption "qbittorrent podman";
|
2024-06-25 22:45:00 +07:00
|
|
|
|
|
|
|
servarr = {
|
|
|
|
enable = mkEnableOption "servarr group";
|
|
|
|
qbittorrent.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = config.profile.podman.servarr.enable;
|
|
|
|
};
|
|
|
|
real-debrid-manager.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = config.profile.podman.servarr.enable;
|
|
|
|
};
|
|
|
|
prowlarr.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = config.profile.podman.servarr.enable;
|
|
|
|
};
|
|
|
|
radar.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = config.profile.podman.servarr.enable;
|
|
|
|
};
|
|
|
|
sonarr.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = config.profile.podman.servarr.enable;
|
|
|
|
};
|
|
|
|
bazarr.enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = config.profile.podman.servarr.enable;
|
|
|
|
};
|
|
|
|
};
|
2024-06-12 18:09:56 +07:00
|
|
|
};
|
|
|
|
}
|