updated bip110 module

This commit is contained in:
2026-03-24 22:51:39 -05:00
parent 17d4fcfd2c
commit ab14ad3f27

View File

@@ -4,17 +4,13 @@ let
cfg = config.sovran_systemsOS;
in
{
options.sovran_systemsOS = {
features.bip110 = lib.mkEnableOption "Enable BIP110 bitcoind";
bip110.package = lib.mkOption {
type = lib.types.nullOr lib.types.package;
default = null;
description = "Custom bitcoind package for BIP110";
};
};
config = lib.mkIf (cfg.features.bip110 && cfg.bip110.package != null) {
services.bitcoind.package = cfg.bip110.package;
# Optional: also expose it in system packages if desired
environment.systemPackages = [
cfg.bip110.package
];
};
}