Commit Graph

1485 Commits

Author SHA1 Message Date
nixbitcoin
b8524720a5
lnd: point out SCB functionality more clearly 2022-02-14 14:04:11 +00:00
Jonas Nick
827107c807
Merge fort-nix/nix-bitcoin#452: makeShell: use final system configuration in generate-secrets
1af84e8b7e makeShell: use actual system configuration in `generate-secrets` (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 1af84e8b7e

Tree-SHA512: d4d2808f627d45e152b2ae7224ccdadd93e727066086cf9dfe3c6ee674773da556e7c8a077794d6dc8f1df4f2a1a41c4f3abfbb3c7ebaca70d8152cd53295ab6
2022-02-12 20:50:08 +00:00
Erik Arvstedt
1af84e8b7e
makeShell: use actual system configuration in generate-secrets
This fixes a bug where the version update message for v0.0.65 is erroneously triggered
because the krops config is not included when evaluating secrets.
2022-02-12 21:33:23 +01:00
Jonas Nick
2e22bbdcc7
Merge fort-nix/nix-bitcoin#451: Update nixpkgs
282454f16e update nixpkgs{,-unstable} (Jonas Nick)
15b88cc1c5 update-flake: fix attribute path of pinned (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 282454f16e

Tree-SHA512: fcd29837685b351532715b376cb21f9dc72d14458ae035435473f34def74e17e690a794b0f72701d85af901852ed7a40e757ac89b3c182bf4cf91a23fd14d3f4
2022-02-12 19:18:47 +00:00
Jonas Nick
282454f16e
update nixpkgs{,-unstable}
btcpayserver: 1.3.7 -> 1.4.4
electrs: 0.9.4 -> 0.9.5
lnd: 0.14.1-beta -> 0.14.2-beta
nbxplorer: 2.2.18 -> 2.2.20
2022-02-11 08:42:51 +00:00
Jonas Nick
15b88cc1c5
update-flake: fix attribute path of pinned 2022-02-09 13:46:31 +00:00
Jonas Nick
0ac9d6f4c8
Merge fort-nix/nix-bitcoin#450: Misc. improvements
d959d5b558 secure-node: don't set `nix-bitcoin.secretsDir` (Erik Arvstedt)
7b0c3d48c9 docs/services.md: link to clightning plugin list (Erik Arvstedt)
7402212263 examples/configuration.nix: disable `passwordAuthentication` (Erik Arvstedt)
e093bb64d9 examples/configuration.nix: fix links to `docs/services.md` (Erik Arvstedt)
d41a550355 fetch-release: export GNUPGHOME (Erik Arvstedt)
397b372cf3 bitcoind: improve option `rpc.users` (Erik Arvstedt)
679e7b6544 bitcoind: remove unneeded tmpfile rule (Erik Arvstedt)
98f419233f bitcoind: don't log timestamps (Erik Arvstedt)
6f8b4d9ebe flake: optimize nixpkgs importing (Erik Arvstedt)
16e2d4c8b7 flake: remove unneeded indirection in legacyPackages (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK d959d5b558

Tree-SHA512: e62fcf36ac77df62b9f86279d0ebac807525d188cbf1ee5c13cf1406b3caadad0f2df7527b0c8713259cbc6d5cdfa006f01e90d5377f974213f204a2f85a8ae6
2022-02-06 17:00:59 +00:00
Erik Arvstedt
d959d5b558
secure-node: don't set nix-bitcoin.secretsDir
This simplifies the docs and the secure-node module.

This change doesn't affect users that deploy via krops.
2022-02-05 21:35:50 +01:00
Erik Arvstedt
7b0c3d48c9
docs/services.md: link to clightning plugin list
The old list was incomplete.

Also update configuration.nix.
2022-02-05 21:34:10 +01:00
Erik Arvstedt
7402212263
examples/configuration.nix: disable passwordAuthentication
This is a sensible default.

Also clarify the pubkey setup.
2022-02-05 21:34:09 +01:00
Erik Arvstedt
e093bb64d9
examples/configuration.nix: fix links to docs/services.md 2022-02-05 21:34:09 +01:00
Erik Arvstedt
d41a550355
fetch-release: export GNUPGHOME
This approach is less error-prone.
It is also used by our fetcher scripts.
2022-02-05 21:33:54 +01:00
Jonas Nick
22bd5075ea
Merge fort-nix/nix-bitcoin#448: [LND] Remove pruning assertion
793a127372 [LND] Remove pruning assertion (Konstantin Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 793a127372
  prusnak:
    ACK 793a127372

Tree-SHA512: fb9bb72981d933a6d8d7bdc888e63f3a156839ef7567d55572dd45479d140a645e752e0129dd74c04b082daeac6f629be6d341b86883c6e3b74e64d5577e4800
2022-02-04 16:27:59 +00:00
Erik Arvstedt
397b372cf3
bitcoind: improve option rpc.users
- Move description to top
- Improve example
2022-02-03 20:47:25 +01:00
Erik Arvstedt
679e7b6544
bitcoind: remove unneeded tmpfile rule 2022-02-03 20:47:25 +01:00
Erik Arvstedt
98f419233f
bitcoind: don't log timestamps
Timestamps are already logged via journald.
2022-02-03 20:47:25 +01:00
Erik Arvstedt
6f8b4d9ebe
flake: optimize nixpkgs importing
`nixpkgs.legacyPackages.${system}` allows reusing a single pkgs instance
that is shared among all flakes with the same `nixpkgs` input.
This is relevant when a user overrides the `nixpkgs` input of our flake
or exports our `nixpkgs` input to other flakes.
`import nixpkgs` would create a new pkgs instance instead.
2022-02-03 20:47:25 +01:00
Erik Arvstedt
16e2d4c8b7
flake: remove unneeded indirection in legacyPackages
Example: The nix-bitcoin electrs pkg can now be reached via flake attr
.#modulesPkgs.electrs
instead of
.#nbPkgs.modulesPkgs.electrs
2022-02-03 20:47:24 +01:00
Konstantin Nick
793a127372 [LND] Remove pruning assertion 2022-02-03 09:34:24 +01:00
Jonas Nick
8a0e347147
Merge fort-nix/nix-bitcoin#447: Update nixpkgs
dac62375c1 update nixpkgs{-unstable} (Martin Milata)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK dac62375c1
  nixbitcoin:
    ACK dac62375c1

Tree-SHA512: 77b0a9123ac6197a0304cf5647ca8b3aa567d51c11106d25f9323ed7e1b1249c4da746fc51bb26aa2f22c40a71d41416fadfc928266e998787cb07a8352f3ef8
2022-01-27 21:14:01 +00:00
Martin Milata
dac62375c1 update nixpkgs{-unstable} 2022-01-27 14:56:41 +01:00
Jonas Nick
a313ffe58a
Merge fort-nix/nix-bitcoin#446: rtl: 0.12.0 -> 0.12.1
2ca90961e3 rtl: 0.12.0 -> 0.12.1 (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 2ca90961e3

Tree-SHA512: f8a0e4934e8583dfb94135bdbfdead76fd5ef08ca59b7ff2ccd73cede128c8937238ddc3e82ef94e0b4de4e5e9bfd27bcecbf2f0198b1ce32ed3f29a09a01b84
2022-01-24 13:16:51 +00:00
nixbitcoin
2ca90961e3
rtl: 0.12.0 -> 0.12.1 2022-01-24 11:54:52 +00:00
William Casarin
570e271695 clightning-plugins: bump to latest git
Signed-off-by: William Casarin <jb55@jb55.com>
2022-01-22 17:01:38 -08:00
Jonas Nick
f8ce24647e
Merge fort-nix/nix-bitcoin#444: fetch-release: add missing homedir to gpg command
296e103228 fetch-release: add missing homedir to gpg command (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 296e103228

Tree-SHA512: 722f80fc16d85c866af9a6d9094ca5edbb1955dc5d455300ba07fc57c66a787c91cadf534773ebaec744c577238226668f34f9c1f2080fa563b07d4161e1d6e8
2022-01-21 15:49:57 +00:00
Jonas Nick
296e103228
fetch-release: add missing homedir to gpg command 2022-01-21 14:20:38 +00:00
Jonas Nick
c5c6f1e75e
Merge fort-nix/nix-bitcoin#443: Update nixpkgs
5b7bc2d6ff update nixpkgs{-unstable} (Jonas Nick)
ffabad225b spark-wallet: switch from nodejs 10 to 12 (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 5b7bc2d6ff

Tree-SHA512: 9b3b7ed53f15bcf98bbd4aac5f08a7d9b62bb86f88ea33e8d89fa4a81613222cc80da9fad784dcfa00a732b44b0074a0adf07908004b95423f4b3d2e940cf986
2022-01-21 13:49:57 +00:00
Jonas Nick
5b7bc2d6ff
update nixpkgs{-unstable}
electrs: 0.9.3 -> 0.9.4
2022-01-20 21:59:13 +00:00
Jonas Nick
ffabad225b
spark-wallet: switch from nodejs 10 to 12
nixpkgs starts marking nodejs 10 as insecure because it is end of life.
2022-01-20 21:59:01 +00:00
Jonas Nick
b9f9c202f8
Merge fort-nix/nix-bitcoin#441: lnd: improve service initialization
d8af0aca02 lnd: improve service initialization (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    utACK d8af0aca02
  jonasnick:
    ACK d8af0aca02

Tree-SHA512: 4c775362a63c6307dcb2f2765d367c8e35c707f18ca6b898f8860daa80934dd58e58aca852ae1fe3b29a43227b3cb1374225fe1ca60f8a4384b32da4470affe0
2022-01-19 19:46:23 +00:00
Erik Arvstedt
d8af0aca02
lnd: improve service initialization
- Use systemd startup notification.
- Use new option `--wallet-unlock-password-file` instead of
  manual unlocking.
2022-01-15 22:49:05 +01:00
Jonas Nick
f469033f6d
Merge fort-nix/nix-bitcoin#440: joinmarket: fix fidelity bond default values
40c5f63f04 joinmarket: fix fidelity bond default values (nixbitcoin)

Pull request description:

ACKs for top commit:
  jonasnick:
    utACK 40c5f63f04

Tree-SHA512: fb19c1b82eb8a8c497fcfd904b1bf372a5734f55deda0a34502ef49a4fb49fd7d92409602a907af938ea2138eec244958cae2e6cde35a94ef091dc93d8058842
2022-01-13 16:31:02 +00:00
nixbitcoin
40c5f63f04
joinmarket: fix fidelity bond default values 2022-01-11 11:05:42 +00:00
Jonas Nick
ed42834a88
Merge fort-nix/nix-bitcoin#437: bitcoind: fix error when defining passwordHMAC for RPC users
bf92d6094d bitcoind: fix error when defining passwordHMAC for RPC users (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK bf92d6094d

Tree-SHA512: 3a92c116c7e85cb03abad9b2d0be39c48be237da4a7ff2b6c20d27e9295da726b3de2d7e2298925b4ae20d7bbd8348529f4d2ec781fb8eda3338c9a06e9931a6
2022-01-07 21:30:55 +00:00
Erik Arvstedt
bf92d6094d
bitcoind: fix error when defining passwordHMAC for RPC users 2022-01-07 03:32:07 +01:00
Jonas Nick
5a24f2afb2
Merge fort-nix/nix-bitcoin#435: run-tests: fix vm cmd
98bc0917d7 run-tests: fix `vm` cmd (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 98bc0917d7

Tree-SHA512: c08810fbddac6493c1c8655abebca557a3d096b570598c0d97dfda5a31c864f1b7abc531536f197e1a7a093be5b39b3d9de4b64f8d019814e706080a5c435726
2022-01-04 21:59:09 +00:00
Erik Arvstedt
98bc0917d7
run-tests: fix vm cmd
Previously, qemu failed with error
`restrict=on : Parameter 'restrict' expects 'on' or 'off'`
due to the trailing space after `on`.
2022-01-04 22:30:35 +01:00
Jonas Nick
4d0e196a90
Merge fort-nix/nix-bitcoin#434: update nixpkgs{,-unstable}
1f45f7351e update nixpkgs{,-unstable} (Jonas Nick)
53a9f136b9 lib: allow syscall `get_mempolicy` in default seccomp filter (Erik Arvstedt)
a2c01e5a56 update-flake: fix attribute path of pinned (Jonas Nick)
bb9f0b54ca spark-wallet: use HTTPS instead of SSH for Github (nixbitcoin)
906b7f83ff rtl: 0.11.2 -> 0.12.0 (nixbitcoin)
2a7630e6f4 cl-rest: 0.6.0 -> 0.6.1 (nixbitcoin)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 1f45f7351e

Tree-SHA512: e96bb396558417c36c7dfcc8ac3f3a6b09b2453627d7c454bf948813c7a7fc82475d8579d485492c48aad44de4fd0ddd00dc73fc588f4e69b1eaae45bd6d040a
2022-01-02 13:48:57 +00:00
Jonas Nick
1f45f7351e
update nixpkgs{,-unstable}
btcpayserver: 1.3.6 -> 1.3.7
elementsd: 0.21.0 -> 0.21.0.1
lightning-loop: 0.15.0-beta -> 0.16.0-beta
lightning-pool: 0.5.1-alpha -> 0.5.3-alpha
2022-01-01 20:15:10 +00:00
Erik Arvstedt
53a9f136b9
lib: allow syscall get_mempolicy in default seccomp filter
This syscall is required by an upcoming version of btcpayserver.
Because it is generally safe, we can allow it for all services.
2022-01-01 20:13:42 +00:00
Jonas Nick
a2c01e5a56
update-flake: fix attribute path of pinned
This was missed in d69524143b.
2022-01-01 20:12:47 +00:00
nixbitcoin
bb9f0b54ca
spark-wallet: use HTTPS instead of SSH for Github 2022-01-01 19:12:20 +01:00
nixbitcoin
906b7f83ff
rtl: 0.11.2 -> 0.12.0 2021-12-30 14:29:29 +00:00
nixbitcoin
2a7630e6f4
cl-rest: 0.6.0 -> 0.6.1 2021-12-30 14:29:22 +00:00
Jonas Nick
6d4178f935
Merge fort-nix/nix-bitcoin#432: Improve flake
6be3fb3e77 flake: provide a single NixOS module (Erik Arvstedt)
d69524143b flake: remove nonstandard top-level flake attrs (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 6be3fb3e77

Tree-SHA512: 78a41366407fc696156322600f596d4dfb12899c089503d330847ae175cfb7825689bb3888632ec80baff8a50efe037f4a5c33ded3220bcafa54b87b4f311528
2021-12-27 20:15:35 +00:00
Erik Arvstedt
6be3fb3e77
flake: provide a single NixOS module
Instead of providing two NixOS modules (one for using system pkgs,
one for using locked pkgs), provide a single module with option
`useVersionLockedPkgs`.

This fixes that all nix-bitcoin options are displayed twice
on search.nixos.org:
https://search.nixos.org/flakes?type=options&query=clightning
2021-12-27 16:59:14 +01:00
Erik Arvstedt
d69524143b
flake: remove nonstandard top-level flake attrs
Silences warnings in `nix flake check`.

- Define `mkNbPkgs` under attr `lib`.
  `lib` still triggers a warning, but it is expected to be a standard
  flake attr in a future Nix release.

- Define `nbPkgs` under attr `legacyPackages`.
  This also has the advantage to make its contents more easily
  accessible via the nix CLI. Example:
  nix eval nix-bitcoin#nbPkgs.modulesPkgs.clightning.version
2021-12-27 16:59:14 +01:00
Jonas Nick
dc382b8b67
Merge fort-nix/nix-bitcoin#431: Improve Pkgs
a31d07d8bf ci: update container image for modules tests (Erik Arvstedt)
bc7d3a2ed7 fetch-release: check that only one key is imported (Erik Arvstedt)
5ab85cb2a5 pkgs: add `meta` attr (Erik Arvstedt)
602281b132 rtl, cl-rest: add /bin to pkg output (Erik Arvstedt)
f4872f3334 spark-wallet: use node package lockfile (Erik Arvstedt)
3091b0a4fb cl-rest: use node package lockfile (Erik Arvstedt)
fbfb61210a rtl: use node package lockfile (Erik Arvstedt)
d296b2d1fb charge-lnd: remove unneeded use of `literalExample` (Erik Arvstedt)
f13ffe0146 run-tests: make `nixosSearch` compatible with `--copy-src` (Erik Arvstedt)
2069f62abc krops: -> 1.26.2 (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  nixbitcoin:
    reACK a31d07d8bf

Tree-SHA512: 9fcc031b2bc8a56181fa0eae84c4809d896070bca5782f6b15a79e7d3545c77b8d436f512f709a203bcead81afe3293167dd8757635d6aeb5e5c320f106b6a83
2021-12-19 19:14:19 +00:00
Erik Arvstedt
a31d07d8bf
ci: update container image for modules tests
nixos/nix:latest has switched to Nix 2.5, but we should track
2.3.x, the default on NixOS stable.
2021-12-15 15:44:56 +01:00
Erik Arvstedt
bc7d3a2ed7
fetch-release: check that only one key is imported
Co-authored-by: nixbitcoin <nixbitcoin@i2pmail.org>
2021-12-15 15:44:55 +01:00