Commit Graph

2045 Commits

Author SHA1 Message Date
Erik Arvstedt
85bbdb857a
python-bitcointx: 1.1.3 -> 1.1.4 2023-12-14 15:00:28 +01:00
Erik Arvstedt
1c07c5fa5c
python-packages: add workaround to reenable requirements checking 2023-12-14 14:53:10 +01:00
Erik Arvstedt
dc1033f1c8
python-packages/joinmarket: update
- Add `doCheck = false` and `pythonImportsCheck` where appropriate.
  This is good practice in general, but specifically works around a
  `buildPythonPackage` bug where the test phase fails due to a
  requirements check that is unrelated to testing.

- Enable tests for `jmbitcoin`.

- Patch some requirements. I've checked the release notes of the
  required deps for backwards compatibility.
2023-12-14 14:53:10 +01:00
Erik Arvstedt
de51f20ccb
python-packages/clightning: update 2023-12-14 14:51:12 +01:00
Erik Arvstedt
e82da35174
examples/deploy-krops: fix duplicate import error
`qemu-vm.nix` is already imported in `vm-config.nix` but under a
different path.
This causes an "already declared" error on NixOS 23.11.
2023-12-14 14:51:07 +01:00
Erik Arvstedt
b110e2aea6
fetch-node-modules: provide CA certs
Without this, the `npm ci` command in `fetchNodeModules` hangs.

It seems that npm didn't check certs previously, because these are
not availble in Nix build environments by default.
2023-12-14 14:50:31 +01:00
Erik Arvstedt
770a4354b4
btcpayserver: fix PostgreSQL 15 user permissions
Since PostgreSQL 15, DB users need to be DB owners to be able to create tables.

We can't use the new `ensureDBOwnerhip` NixOS option [1] to set this up,
because it requires the PostgreSQL user name and the database name to be
identical, which is not the case for btcpayserver.

Instead, we manually issue a PostgreSQL admin statement similar to the one
used by `ensureDBOwnerhip`.

This method of setting up the user is also compatible with older
PostgreSQL versions that come with older NixOS `system.stateVersion`s.

[1] https://github.com/NixOS/nixpkgs/pull/266270
2023-12-12 11:22:38 +01:00
Erik Arvstedt
9efcdaf8bb
treewide: use vendorHash for golang drvs
`vendorSha256` has been deprecated.
2023-12-12 11:22:38 +01:00
Erik Arvstedt
be2028f2e8
mempool: use recommendedBrotliSettings 2023-12-12 11:22:38 +01:00
Erik Arvstedt
1676445a51
update to NixOS 23.11 2023-12-12 11:22:38 +01:00
nixbitcoin
e4cb004905
joinmarket: 0.9.9 -> 0.9.10 2023-12-02 23:01:15 +01:00
Jonas Nick
1d73b21f10
Merge fort-nix/nix-bitcoin#661: update nixpkgs
457f066e08 tests/trustedcoin: fix (Erik Arvstedt)
f06ee98435 update nixpkgs (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 457f066e08

Tree-SHA512: 7c1529dd8830187c0ee9adfb585747fc41300dc7efe1b8a3304ee6b5903034d8296eccecc744d38b7333a06e4f2c201dbe33d000d8360e030d1e2d16879f9513
2023-11-29 09:28:15 +00:00
Erik Arvstedt
457f066e08
tests/trustedcoin: fix
Sometimes trustedcoin outputs `tip: 0`.
Check for `returning block` instead.
2023-11-28 18:33:27 +00:00
Jonas Nick
f06ee98435
update nixpkgs
btcpayserver: 1.11.6 -> 1.11.7
electrs: 0.9.13 -> 0.10.1
fulcrum: 1.9.2 -> 1.9.7
2023-11-28 18:33:18 +00:00
Jonas Nick
24151b63f8
Merge fort-nix/nix-bitcoin#659: fix pkgconfig -> pkg-config rename
bb17457bc0 fix pkgconfig -> pkg-config rename (Chris Guida)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK bb17457bc0.

Tree-SHA512: ec23c460f53a2251885dcd5cb664033519ca490c519fada888f299e3a04e63fbd1f34e7723b0ee2ecfb4fb666d8528408ebfc1d8461975371faa0d3c1d5584c3
2023-11-13 08:06:18 +00:00
Chris Guida
bb17457bc0 fix pkgconfig -> pkg-config rename 2023-11-10 15:34:35 -06:00
Jonas Nick
a1eacce676
Merge fort-nix/nix-bitcoin#658: presets/wireguard: make compatible with secure-node preset
e784e0ceb8 presets/wireguard: make compatible with `secure-node` preset (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    utACK e784e0ceb8

Tree-SHA512: a5506e487b01b78f9c420314980bb837079c2960a076f1fbf665db26b5325d9e96cef0743a9f66ab681dfc42fe6fabcee736519013c4c4d164b7d0922ebe8edf
2023-11-05 09:50:42 +00:00
Jonas Nick
1090675516
Merge fort-nix/nix-bitcoin#505: Add mempool
1de259485b mempool: add module (Erik Arvstedt)
f0bf94cc5a mempool: init at 2.5.0 (Erik Arvstedt)
8cdedac046 bitcoind-rpc-public-whitelist: add `getindexinfo` (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 1de259485b

Tree-SHA512: f3cbe1eaac6994c6b05f2e560bb2dce564236bcd650e54e4d80ca2b15e20b1d9aa5a9a9c6b9e46ab4f0cf64e8864cbafe884190260c43ba6a1201513605c24f0
2023-11-05 09:41:00 +00:00
Erik Arvstedt
e784e0ceb8
presets/wireguard: make compatible with secure-node preset
Disable Tor enforcement set by the secure-node preset.
2023-11-01 18:29:32 +01:00
Erik Arvstedt
1de259485b
mempool: add module 2023-10-31 13:44:04 +01:00
Erik Arvstedt
f0bf94cc5a
mempool: init at 2.5.0 2023-10-30 11:58:24 +01:00
Erik Arvstedt
8cdedac046
bitcoind-rpc-public-whitelist: add getindexinfo 2023-10-30 11:58:24 +01:00
Jonas Nick
8a8f32a4fa
Merge fort-nix/nix-bitcoin#655: examples/flake.nix: minor improvements
742fd8fdd0 examples/flake.nix: add `inputs.nixpkgs` (Erik Arvstedt)
89ea349312 examples/flake.nix: add comments and extra service (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 742fd8fdd0

Tree-SHA512: 7879d2c4cfa95db7b0310d402f6d8dc78fad1667f6a1021f466b8307e6f62235d113df70cc0932695fd3d80d7b141e7463e03ad45aac93c7e655c59c12c90a2f
2023-10-23 12:35:38 +00:00
Jonas Nick
4c96a8deba
Merge fort-nix/nix-bitcoin#656: update nixpkgs: bitcoin 24.1 -> 25.1
a66c9992d3 tests/trustedcoin: fix test (Erik Arvstedt)
8e2010c1b3 update nixpkgs (Jonas Nick)
2804d4ada0 Revert "bitcoin: replace nixpkgs package with bitcoin{,d} 24.1" (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK a66c9992d3

Tree-SHA512: 6a30a86d64ad1a178ab091f3300291d711cedacd35b056f91f26b9976b83f556a1f7872a32f74c3fd545396f303b4475b9a16dd9c3043914586c5ac615519d59
2023-10-23 12:32:19 +00:00
Erik Arvstedt
a66c9992d3
tests/trustedcoin: fix test
Sometimes the trustedcoin plugin prevents clightning from starting up
in an offline environment.
2023-10-23 12:12:29 +00:00
Erik Arvstedt
742fd8fdd0
examples/flake.nix: add inputs.nixpkgs
To make this template look more like a regular system flake.
2023-10-23 11:47:34 +02:00
Jonas Nick
8e2010c1b3
update nixpkgs
bitcoin: 24.1 -> 25.1
bitcoind: 24.1 -> 25.1
2023-10-23 09:37:40 +00:00
Jonas Nick
2804d4ada0
Revert "bitcoin: replace nixpkgs package with bitcoin{,d} 24.1"
This reverts commit 3650d4befe.
2023-10-23 08:58:10 +00:00
Erik Arvstedt
89ea349312
examples/flake.nix: add comments and extra service
Like in importable-configuration.nix
2023-10-19 09:48:50 +02:00
Jonas Nick
1852305b13
Merge fort-nix/nix-bitcoin#654: update nixpkgs
1fad7c730b update nixpkgs (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 1fad7c730b

Tree-SHA512: 41cd3482e7878daa1152be2e982a2c8a07c464127d670e0e70ab0f80e6ac819b5714c8162efa3b35f7a9bd2633f0a25508044c1b7f60e6a34fdf07f3c0e07333
2023-10-18 12:20:22 +00:00
Erik Arvstedt
1fad7c730b
update nixpkgs
btcpayserver: 1.11.4 -> 1.11.6
fulcrum: 1.9.1 -> 1.9.2
lnd: 0.16.3-beta -> 0.17.0-beta
nbxplorer: 2.3.65 -> 2.3.66

Includes fix for curl CVE-2023-38545 (https://github.com/NixOS/nixpkgs/pull/260381)
2023-10-17 21:10:37 +02:00
Jonas Nick
3e82a56a3b
Merge fort-nix/nix-bitcoin#652: rtl: 0.14.0 -> 0.14.1
b63798ff46 rtl: 0.14.0 -> 0.14.1 (Erik Arvstedt)
c14ebd230c clighting-rest: 0.10.5 -> 0.10.7 (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK b63798ff46

Tree-SHA512: e5f8abcbf1f087d58a6e9df790b8a97bf3543736e8e832d0911172cf357fa158e178ec4bdd3374e82163434ba6c8e030643332b94a1cfa3346e4396cf2a22ac8
2023-10-09 08:03:01 +00:00
Jonas Nick
749901b923
Merge fort-nix/nix-bitcoin#653: Revert "clightning: don't cleanup socket on startup"
fc1466e743 Revert "clightning: don't cleanup socket on startup" (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK fc1466e743

Tree-SHA512: e4139ef9163fe371964cb8ab668f70dc414ecc5169e3d5d7a0637ef61493d51f1416d878abd21b28d5763e089e00ff10a2e8f30103b488871470ad31dd387025
2023-10-09 07:59:33 +00:00
Jonas Nick
aa169f4653
Merge fort-nix/nix-bitcoin#651: treewide: ensure services are started after secrets setup
90ce68cb16 treewide: ensure services are started after secrets setup (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 90ce68cb16

Tree-SHA512: b0872c757235b0c66b714bbb82a2b960af040f8a8171d08ace2b4e7515613e67aa9ab56db9a8acf3f9c45ab774cb0a4583e87d4e00279a6c813102f91908c165
2023-10-09 07:45:10 +00:00
Erik Arvstedt
fc1466e743
Revert "clightning: don't cleanup socket on startup"
Also, add a detailed comment.

Without this commit, clightning client services may fail to start
due to clightning RPC connection failures.
2023-10-08 21:39:46 +02:00
Erik Arvstedt
b63798ff46
rtl: 0.14.0 -> 0.14.1 2023-10-08 20:42:33 +02:00
Erik Arvstedt
c14ebd230c
clighting-rest: 0.10.5 -> 0.10.7 2023-10-08 20:42:33 +02:00
Erik Arvstedt
90ce68cb16
treewide: ensure services are started after secrets setup
Now all services that access secrets only run after the secrets setup
has finished.

Previously, we assumed that the systemd `after` dependency is
transitive, i.e. that adding an `after = [ "bitcoind.service" ]`
to a service implicitly pulled in the `after` dependency to
`nix-bitcoin-secrets.target` (which is defined for `bitcoind`).
This is not the case. Services could start before secrets setup
had finished, leading to service failure.
2023-10-08 13:56:56 +02:00
Jonas Nick
29a32ac53b
Merge fort-nix/nix-bitcoin#648: bitcoin: add shell completions
26cc9e4b60 bitcoin: add shell completions (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  0xB10C:
    Code Review ACK 26cc9e4b60

Tree-SHA512: 78e38c1045d445553d2a84bd51521e17ee216bc98d93b4786658b770b5df464d744e99f0b9af110fb909e31dd7e8bde9ef2f0f33b1cf4d3465710849a9572be8
2023-10-02 09:09:14 +00:00
Jonas Nick
9f28720e45
Merge fort-nix/nix-bitcoin#650: Update install.md
d9f5c41025 Update install.md (bavarianledger)
358a0a0d99 Update install.md (bavarianledger)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK d9f5c41025

Tree-SHA512: 6208ea91cb5983a98ad5082a89f0a16384c490f294cb3268bc2bc15adfcf044209dcb41e8a5bf11980f8a5fc125679ba06ceb0e0e5359829d1390a2bed1878d9
2023-09-29 06:34:43 +00:00
bavarianledger
d9f5c41025
Update install.md
Updated to NixOS 23.05  (built 3701)
2023-09-24 11:00:03 +02:00
bavarianledger
358a0a0d99
Update install.md
Fixed mix of x86_64 and i686 architectures.
2023-09-24 08:35:28 +02:00
Erik Arvstedt
26cc9e4b60
bitcoin: add shell completions
Backport of https://github.com/NixOS/nixpkgs/pull/256091
2023-09-19 14:19:38 +02:00
Jonas Nick
eaea0f120d
Merge fort-nix/nix-bitcoin#644: update nixpkgs:
c1b370aaa6 update nixpkgs (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK c1b370aaa6

Tree-SHA512: a8b0c2d9a54286a899950172e62a6c6a84b5d255a0dee5227d6c39d969080a2c42e5999da26a1b00651937f36caf23fce9396eb8d9f6f8dabd368d6d90aa28e6
2023-09-16 14:31:42 +00:00
Jonas Nick
c1b370aaa6
update nixpkgs
btcpayserver: 1.11.2 -> 1.11.4
clightning: 23.05.2 -> 23.08.1
hwi: 2.2.1 -> 2.3.1

Remove custom coincurve, since nixos-23.05 includes the latest version
of coincurve (18) that's required by pyln-proto.

Co-authored-by: Erik Arvstedt <erik.arvstedt@gmail.com>
2023-09-16 13:40:27 +00:00
Jonas Nick
19b997fde7
Merge fort-nix/nix-bitcoin#643: clboss: 0.13A -> 0.13
b6df5cb130 clboss: 0.13A -> 0.13 (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK b6df5cb130

Tree-SHA512: c25352fca2a47de3e0b69637dd137bd6d127a99b5a7a138cdd011a243be2bd9e97bfd64a941894734f6c6e779e03db1b34696bfa66bfe59eb3155a6eeda5c90f
2023-09-11 08:29:21 +00:00
Erik Arvstedt
b6df5cb130
clboss: 0.13A -> 0.13 2023-09-09 14:35:35 +02:00
Jonas Nick
8db4a1ece5
Merge fort-nix/nix-bitcoin#641: Update recommended disk space hardware.md
73333d5e8f Update recommended disk space hardware.md (bakerb15)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 73333d5e8f

Tree-SHA512: 9c339ab2d4f50ba5d6a05e90719da94c4f72aca0087f5f3ea6a4c131b7d27c5bbc31e06ee78457237456fa57dc25a3d4d6c730b90ce0853331c3d611c6eebe8d
2023-09-05 19:44:04 +00:00
bakerb15
73333d5e8f
Update recommended disk space hardware.md 2023-09-05 12:53:12 -04:00
Jonas Nick
d5d3f064e6
Merge fort-nix/nix-bitcoin#640: pkgs/bitcoind: use pkgs instead of pkgsUnstable
ff30af6ed3 pkgs/bitcoind: use `pkgs` instead of `pkgsUnstable` (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK ff30af6ed3

Tree-SHA512: 756267aedbb166e315daaeab6c0dd3869df2ff57e076fb67cc55e4242a76b201eae4ff0512950280b4298438dc655ed5e8d22588722e4235b05baa7f4e59237a
2023-09-04 19:34:31 +00:00