lnd-rest-onion-service.nix: move to lndconnect-onion.nix, add clightning support

Option `services.lnd.restOnionService.package` has been removed.
There's not much use in overriding the [lndconnect pkg](https://github.com/LN-Zap/lndconnect).
This commit is contained in:
Erik Arvstedt 2022-05-05 21:56:17 +02:00
parent acf5fe69ad
commit e2fee4bf1a
No known key found for this signature in database
GPG key ID: 33312B944DD97846
9 changed files with 161 additions and 64 deletions

View file

@ -148,9 +148,15 @@ def _():
assert_matches("runuser -u operator -- lncli getinfo | jq", '"version"')
assert_no_failure("lnd")
@test("lnd-rest-onion-service")
@test("lndconnect-onion-lnd")
def _():
assert_matches("runuser -u operator -- lndconnect-rest-onion -j", ".onion")
assert_running("lnd")
assert_matches("runuser -u operator -- lndconnect-onion --url", ".onion")
@test("lndconnect-onion-clightning")
def _():
assert_running("clightning-rest")
assert_matches("runuser -u operator -- lndconnect-onion-clightning --url", ".onion")
@test("lightning-loop")
def _():