Add Bitcoin Pulse module integration
This commit is contained in:
parent
3d8488a9b4
commit
fc8c7de05d
3 changed files with 146 additions and 5 deletions
12
flake.nix
12
flake.nix
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue