Add Bitcoin Pulse module integration

This commit is contained in:
Tobserver Agent 2026-07-26 18:23:37 +07:00
parent 3d8488a9b4
commit fc8c7de05d
3 changed files with 146 additions and 5 deletions

View file

@ -5,23 +5,29 @@
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
checker.url = "git+https://codeberg.org/oibot/checker.git";
hermes-agent.url = "github:NousResearch/hermes-agent";
bitcoin-pulse = {
url = "git+https://codeberg.org/oibot/BitcoinPulseAPI.git";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, sops-nix, checker, hermes-agent, ... }:
outputs = { self, nixpkgs, sops-nix, checker, hermes-agent, bitcoin-pulse, ... }:
let
system = "x86_64-linux";
in {
in
{
nixosConfigurations.tobserver = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit checker;
inherit bitcoin-pulse checker;
};
modules = [
sops-nix.nixosModules.sops
./hardware-configuration.nix
./configuration.nix
./modules/bitcoin-pulse.nix
./modules/bitcoin.nix
./modules/electrs.nix
./modules/mempool.nix