added tooling for domains

This commit is contained in:
2026-03-27 17:12:11 -05:00
parent e42eb92cb1
commit 691a555645
9 changed files with 174 additions and 1 deletions

View File

@@ -55,10 +55,24 @@
btcpayserver = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Expose BTCPay Server via Caddy (service still runs via nix-bitcoin regardless)";
description = "Expose BTCPay Server via Caddy";
};
};
# ── Domain setup registry ─────────────────────────────────
domainRequirements = lib.mkOption {
type = lib.types.listOf (lib.types.submodule {
options = {
name = lib.mkOption { type = lib.types.str; };
label = lib.mkOption { type = lib.types.str; };
example = lib.mkOption { type = lib.types.str; };
needsDDNS = lib.mkOption { type = lib.types.bool; default = true; };
};
});
default = [];
description = "Domain requirements registered by each module";
};
nostr_npub = lib.mkOption {
type = lib.types.str;
default = "";