Jonas Nick
edc1495f5e
Merge fort-nix/nix-bitcoin#598 : update nixpkgs
...
b82eb458af
update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK b82eb458af
Tree-SHA512: 5395c9aa2d3a10c4a8fd299b6cadb8e43349907963e4c63fb0840dafcf4239af9674e878f92eb5da1b81bafdfc6e141e3b7855ed285b29da642ee00fe308bca2
2023-03-11 17:11:44 +00:00
Jonas Nick
b82eb458af
update nixpkgs
...
clightning: 22.11.1 -> 23.02
hwi: 2.2.0 -> 2.2.1
2023-03-07 21:08:35 +00:00
Jonas Nick
5ee36cbbf4
Merge fort-nix/nix-bitcoin#594 : rtl: 0.13.4 -> 0.13.6
...
58c7e5519b
rtl: set DB_DIRECTORY_PATH (Jonas Nick)
f4c159d0e2
rtl: 0.13.4 -> 0.13.6 (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK 58c7e5519b
Tree-SHA512: 150c3896b3a40d93589f859ec0b2525dbf41fcca2a22099d84bcd2e0bdd26c51f82777d0facf86e9aafc5c9d2547b22cee12d33463ac63a50a657c20463e1574
2023-02-27 13:52:54 +00:00
Erik Arvstedt
477e1709fb
lndconnect: update to Zeus 0.7.1
...
- Generate lndconnect URLs with protocol `c-lightning-rest` for clightning.
(Zeus now auto-detects the lightning implementation by the URL protocol.)
- Use improved QR code format (via qrencode) .
2023-02-27 14:39:29 +01:00
Erik Arvstedt
f996ef37d9
lnd, clightning-rest: remove lndconnectOnion
, add generic option lndconnect
...
For both lnd and clightning-rest, `lndconnectOnion` is replaced by
options `lndconnect.enable` and `lndconnect.onion`.
This allows using lndconnect without Tor.
2023-02-27 14:39:29 +01:00
Erik Arvstedt
b4bc621b8c
rename lndconnect-onion.nix
-> lndconnect.nix
2023-02-27 14:39:29 +01:00
Erik Arvstedt
907cfe4f4c
docs/services: improve title, fix numbering
2023-02-27 14:39:29 +01:00
Jonas Nick
58c7e5519b
rtl: set DB_DIRECTORY_PATH
...
This prevents RTL from trying to create a database in the directory that
contains the RTL executable.
2023-02-27 13:30:56 +00:00
Jonas Nick
f4c159d0e2
rtl: 0.13.4 -> 0.13.6
2023-02-27 13:30:53 +00:00
Jonas Nick
1218a11633
Merge fort-nix/nix-bitcoin#593 : update nixpkgs
...
3a2730d287
btcpayserver: support restarting from the web interface (Erik Arvstedt)
3480232f2a
update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK 3a2730d287
Tree-SHA512: 2750acc241c9790e1faf63f4f164421c9220376d5c57a46339a3aadc8093ea909cdb29b9026c4857642b346208dc012f4baa42832d267e512783fe860b8fca7e
2023-02-27 13:13:52 +00:00
Erik Arvstedt
3a2730d287
btcpayserver: support restarting from the web interface
...
This is required since version 1.7.4.
See: https://github.com/btcpayserver/btcpayserver/releases/tag/v1.7.4
2023-02-27 12:44:08 +00:00
Jonas Nick
3480232f2a
update nixpkgs
...
btcpayserver: 1.7.3 -> 1.7.12
elementsd: 22.0.2 -> 22.1
nbxplorer: 2.3.54 -> 2.3.62
Also add new required argument to flake-info in CI test script.
2023-02-27 12:43:41 +00:00
Jonas Nick
cd4060fc7f
Merge fort-nix/nix-bitcoin#591 : Readme: Add mempool flake
...
bf8de6744e
README: add mempool extension module (Erik Arvstedt)
c12ff6251d
README: add some module descriptions (Erik Arvstedt)
2c3fa63baa
dev/features: improve `enter_service` (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK bf8de6744e
Tree-SHA512: 6bda4aa87656e60bac8bf7acb1831984935602ea599e9e3244cca18f1cf5b4d97ccd9918e12145990a374292af5dda5ad35ecae87596860102f61cf9e6401854
2023-02-21 15:33:38 +00:00
Erik Arvstedt
bf8de6744e
README: add mempool extension module
2023-02-19 22:02:23 +01:00
Erik Arvstedt
c12ff6251d
README: add some module descriptions
2023-02-04 13:22:41 +01:00
Erik Arvstedt
2c3fa63baa
dev/features: improve enter_service
...
Read uid/gid directly from the service pid.
This makes this fn work with arbitrary services, and with `bitcoind`,
where, for historical reasons, the service user name (`bitcoin`) doesn't
equal the service name.
2023-02-04 13:22:41 +01:00
Jonas Nick
479e21a122
Merge fort-nix/nix-bitcoin#587 : Fulcrum: Fix available memory detection
...
86dc7e2669
fulcrum: allow access to `/proc/meminfo` (Erik Arvstedt)
c948af2e18
dev/dev-features: add `enter_service` helper (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 86dc7e2669
Tree-SHA512: 5c2b7bc5e2247a7fb45e6c805162c02d87b4c917e4a1306134d634f418534b03e3152e402d17e054c410d3d72f3f5eb3d270fcb53019b2f96ea6b27ecae53755
2023-02-03 13:21:56 +00:00
Jonas Nick
475af2d6cb
Merge fort-nix/nix-bitcoin#586 : Misc. improvements
...
addfa8ec6b
test: support `run`, `debug` commands in basic NixOS tests (Erik Arvstedt)
ae733d887e
tests/clightning-replication: reuse `pkgs` instance (Erik Arvstedt)
6cbd0d93ae
tests: rename `clightningReplication` -> `clightning-replication` (Erik Arvstedt)
85310b533a
secrets: use type `lines` for `generateSecretsCmds` (Erik Arvstedt)
bc2f66d4f1
bitcoind, liquid: increase start/stop timeouts (Erik Arvstedt)
519ae31202
netns-isolation: improve formatting (Erik Arvstedt)
a1023696e6
netns-isolation: reserve netns id for mempool (Erik Arvstedt)
34fe8675bd
add option `nix-bitcoin.pkgOverlays` (Erik Arvstedt)
a3bdecb10b
helper: add start-bash-session.sh (Erik Arvstedt)
690a8f6256
nodeinfo: extract fn `mkInfoLong` (Erik Arvstedt)
2af642f56a
improve comments (Erik Arvstedt)
5634f08873
rtl: make `extraConfig` recursively mergeable (Erik Arvstedt)
b76728a1ec
treewide: use bool literals for systemd (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK addfa8ec6b
Tree-SHA512: 46f779f8477b566ffc6d0dfb024f2098757f509b2b3e0cbb509cf3308de7029e913f6e6c3d6d3d226cc72f8a5031fd5586b2efdf7c2d9d15f4bdd7ed08b27425
2023-02-03 13:11:41 +00:00
Erik Arvstedt
addfa8ec6b
test: support run
, debug
commands in basic NixOS tests
...
Currently, this only affects the basic NixOS test `clightning-replication`.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
ae733d887e
tests/clightning-replication: reuse pkgs
instance
...
This reduces eval time by 30%.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
6cbd0d93ae
tests: rename clightningReplication
-> clightning-replication
...
The test name now matches the file name.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
85310b533a
secrets: use type lines
for generateSecretsCmds
...
This allows users to amend secrets cmds.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
bc2f66d4f1
bitcoind, liquid: increase start/stop timeouts
2023-02-02 10:51:41 +01:00
Erik Arvstedt
519ae31202
netns-isolation: improve formatting
2023-02-02 10:51:41 +01:00
Erik Arvstedt
a1023696e6
netns-isolation: reserve netns id for mempool
...
This allows using the old id in the extension flake, so that
existing configs are not changed.
2023-02-02 10:51:41 +01:00
Erik Arvstedt
34fe8675bd
add option nix-bitcoin.pkgOverlays
...
This simplifies extending `nix-bitcoin.pkgs` and is required for
extension flakes.
For now, mark this as `internal`.
2023-02-02 10:51:40 +01:00
Erik Arvstedt
a3bdecb10b
helper: add start-bash-session.sh
2023-02-02 10:51:40 +01:00
Jonas Nick
397d2bab9b
Merge fort-nix/nix-bitcoin#589 : rtl: 0.13.2 -> 0.13.4
...
6291d4fbea
rtl: 0.13.2 -> 0.13.4 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 6291d4fbea
Tree-SHA512: bc52cbdb12f311446eb79960c6500261c97ff5d12baaf1248056a1eb3507c64cb788db2ee25d05bf0bec6d4f78a544fdd037cf34fd3b56adcc6b0fe556e1158b
2023-01-28 22:42:48 +00:00
Jonas Nick
0e4af28df0
Merge fort-nix/nix-bitcoin#588 : update nixpkgs
...
56c2abd91a
update nixpkgs (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 56c2abd91a
Tree-SHA512: b2acbd4e944007448b821c4a02f2f8e925d006b3e92011497019db9fe247d6a130cf875203c2c2830a83042f87d1916163d2b1604077812edc7d11b073047a7f
2023-01-28 10:55:04 +00:00
Erik Arvstedt
6291d4fbea
rtl: 0.13.2 -> 0.13.4
2023-01-26 23:08:05 +01:00
Erik Arvstedt
690a8f6256
nodeinfo: extract fn mkInfoLong
...
This is required by the mempool extension flake.
2023-01-26 11:17:03 +01:00
Erik Arvstedt
2af642f56a
improve comments
...
The comment in python-packackges was obsolete.
2023-01-26 11:17:02 +01:00
Erik Arvstedt
56c2abd91a
update nixpkgs
...
btcpayserver: 1.7.2 -> 1.7.3
electrs: 0.9.10 -> 0.9.11
hwi: 2.1.1 -> 2.2.0
2023-01-25 23:57:29 +01:00
Erik Arvstedt
86dc7e2669
fulcrum: allow access to /proc/meminfo
...
This still hides the proc subdirectories for other processes.
Without this setting, fulcrum fails when the config value of
`fast-sync` is greater than 2^31 bytes.
2023-01-21 13:28:32 +01:00
Erik Arvstedt
c948af2e18
dev/dev-features: add enter_service
helper
2023-01-21 13:20:49 +01:00
Erik Arvstedt
5634f08873
rtl: make extraConfig
recursively mergeable
...
Previously, when merging different definitions of `extraConfig`,
only the top-level attrset was merged.
Example:
The two separate settings
nodes.lnd.extraConfig.Settings.userPersona = "MERCHANT";
nodes.lnd.extraConfig.Settings.logLevel = "DEBUG";
were previously merged into
nodes.lnd.extraConfig.Settings = { logLevel = "DEBUG" };
(The last definition has precedence.)
2023-01-20 13:46:08 +01:00
Erik Arvstedt
b76728a1ec
treewide: use bool literals for systemd
...
Run this from the repo root to check that there are no more remaining
bool strings:
grep -P '"true"|"false"' -r --exclude-dir=.git
2023-01-20 13:46:08 +01:00
Jonas Nick
84fc4d48d3
Merge fort-nix/nix-bitcoin#574 : Add dev helper and docs
...
b4d7e1aa8f
add dev helper and docs (Erik Arvstedt)
b35d08d3f2
docs: move test docs from `examples/README` to `test/README` (Erik Arvstedt)
4d76eb9183
docs/configuration: fix typo (Erik Arvstedt)
dc0710f3f4
tests: add example scenario `customTest` (Erik Arvstedt)
9e30d2728b
tests: formatting (Erik Arvstedt)
c6d85c6fe3
tests: fix broken unit file when clightning is disabled (Erik Arvstedt)
a51f7b419e
run-tests: use arg instead of env var for scenario overrides (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK b4d7e1aa8f
Tree-SHA512: f0ed8f8fe326c64eac3b7e9f48597dd00eedb9244333e199d18d1c2c06f369cd015f77aefd48e87235a68aee0b352057249525bf015e0a564fda380bdf7bb9d1
2023-01-18 20:53:24 +00:00
Erik Arvstedt
b4d7e1aa8f
add dev helper and docs
2023-01-15 20:28:49 +01:00
Erik Arvstedt
b35d08d3f2
docs: move test docs from examples/README
to test/README
2023-01-15 20:28:48 +01:00
Erik Arvstedt
4d76eb9183
docs/configuration: fix typo
2023-01-15 20:28:48 +01:00
Erik Arvstedt
dc0710f3f4
tests: add example scenario customTest
2023-01-15 20:28:48 +01:00
Jonas Nick
dfeff7b17b
Merge fort-nix/nix-bitcoin#582 : update nixpkgs
...
9019a17bfc
versioning: add fulcrum db change info (Erik Arvstedt)
aae4b6bfc5
update nixpkgs (Jonas Nick)
Pull request description:
ACKs for top commit:
erikarvstedt:
ACK 9019a17bfc
Tree-SHA512: d1620431beca7841d0e16deedef2c77364db1d7d2f8edf61cdf4ee2d2f8759736acf64fe9764bef0687a283e6d4eb45e4533e92fa1db601a0f2b331182135e10
2023-01-08 10:57:06 +00:00
Erik Arvstedt
9019a17bfc
versioning: add fulcrum db change info
2023-01-07 19:32:54 +00:00
Jonas Nick
aae4b6bfc5
update nixpkgs
...
btcpayserver: 1.7.1 -> 1.7.2
fulcrum: 1.8.2 -> 1.9.0
nbxplorer: 2.3.49 -> 2.3.54
2023-01-06 22:53:47 +00:00
Erik Arvstedt
9e30d2728b
tests: formatting
...
Move line next to `services.lnd` config for clarity.
2023-01-06 23:46:43 +01:00
Erik Arvstedt
c6d85c6fe3
tests: fix broken unit file when clightning is disabled
...
Previously, an incomplete clightning unit was always created because
attr `clightning` was always defined in option attrset `systemd.services`.
2023-01-06 23:46:43 +01:00
Erik Arvstedt
a51f7b419e
run-tests: use arg instead of env var for scenario overrides
...
This removes a source of implicit state and guarantees that regular
calls to `run-tests.sh` always run the builtin tests.
2023-01-06 23:46:43 +01:00
Jonas Nick
da612fe84f
Merge fort-nix/nix-bitcoin#577 : Upgrade to NixOS 22.11
...
4b5b4eac58
examples/deploy-container: fix `sudo` env propagation (Erik Arvstedt)
8d476cfeaf
nix-bitcoin/runAsUserCmd: remove workaround (Erik Arvstedt)
00cceca861
joinmarket: fix Python packages (Erik Arvstedt)
e4b8e14d3a
clightning: fix Python packages (Erik Arvstedt)
d1ef2a6e1e
pythonPackages: improve layout (Erik Arvstedt)
74c8593407
pythonPackages: add indentation (Erik Arvstedt)
109dccca27
treewide: use `mdDoc` for descriptions (Erik Arvstedt)
a9c1995ed9
treewide: rename maintainer `earvstedt` -> `erikarvstedt` (Erik Arvstedt)
9e456ea3a9
shellcheck-services.nix: update to NixOS 22.11 (Erik Arvstedt)
77d58162e7
test: update to NixOS 22.11 (Erik Arvstedt)
142cbcfb37
flake: remove 32-bit systems (Erik Arvstedt)
c9b1e59f20
update to NixOS 22.11 (Erik Arvstedt)
62515a5696
helper/update-flake: support updating NixOS versions (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 4b5b4eac58
Tree-SHA512: b6ff443c4c6721dee9e6bf8f068d72c819851d54cb52d3fec64475cd884825063c28a87b2e9d1645617b7d0e7c1d52ee1ccd898f833c720c25f1b07add938cd5
2023-01-06 22:37:46 +00:00
Erik Arvstedt
4b5b4eac58
examples/deploy-container: fix sudo
env propagation
...
Env vars can't be reliably passed through `sudo`, so always
call nix-shell to setup the env after running sudo.
2023-01-06 23:23:54 +01:00