Merge fort-nix/nix-bitcoin#504: Add fulcrum module

7d7f2df006 fulcrum: add module (Erik Arvstedt)
edd8bd311c bitcoind-rpc-public-whitelist: add `ping`, `help` (Erik Arvstedt)
f946a7cd9b examples: use `mkDefault` for setting `system.stateVersion` (Erik Arvstedt)
79994d0bd2 tests: increase postgresql startup timeout (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    ACK 7d7f2df006

Tree-SHA512: 866f0a40bb81ceb2008e6efbd415eeee201b9e56aa5ebc60fd1bb4b6eda300155faaa2e6492d8145b3c6084b1e8ef5ec7d4e0ff694beb328d2e5ed755c9d04b4
This commit is contained in:
Jonas Nick
2022-07-22 13:02:35 +00:00
15 changed files with 196 additions and 11 deletions

View File

@@ -122,9 +122,20 @@
# services.spark-wallet.enable = true;
### ELECTRS
# Set this to enable electrs, an efficient Electrum server implemented in Rust.
# Set this to enable electrs, an Electrum server implemented in Rust.
# services.electrs.enable = true;
### FULCRUM
# Set this to enable fulcrum, an Electrum server implemented in C++.
#
# Compared to electrs, fulcrum has higher storage demands but
# can serve arbitrary address queries instantly.
#
# Before enabling fulcrum, and for more info on storage demands,
# see the description of option `enable` in ../modules/fulcrum.nix
#
# services.fulcrum.enable = true;
### BTCPayServer
# Set this to enable BTCPayServer, a self-hosted, open-source
# cryptocurrency payment processor.

View File

@@ -34,7 +34,7 @@ nix-build --out-link $tmpDir/vm - <<'EOF'
# warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
nix.nixPath = lib.mkForce [];
system.stateVersion = config.system.nixos.release;
system.stateVersion = lib.mkDefault config.system.nixos.release;
};
}).config.system.build.vm
EOF

View File

@@ -45,7 +45,7 @@ rec {
echo o >/proc/sysrq-trigger
'';
system.stateVersion = config.system.nixos.release;
system.stateVersion = lib.mkDefault config.system.nixos.release;
};
}).config.system.build.vm;