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: utACKe784e0ceb8
Tree-SHA512: a5506e487b01b78f9c420314980bb837079c2960a076f1fbf665db26b5325d9e96cef0743a9f66ab681dfc42fe6fabcee736519013c4c4d164b7d0922ebe8edf
This commit is contained in:
commit
a1eacce676
|
@ -183,8 +183,14 @@ in {
|
||||||
|
|
||||||
# Listen on all addresses, including `serverAddress`.
|
# Listen on all addresses, including `serverAddress`.
|
||||||
# This is safe because the listen ports are secured by the firewall.
|
# This is safe because the listen ports are secured by the firewall.
|
||||||
services.lnd.restAddress = mkIf lndconnect "0.0.0.0";
|
services.lnd = mkIf lndconnect {
|
||||||
# clightning-rest always listens on "0.0.0.0"
|
restAddress = "0.0.0.0";
|
||||||
|
tor.enforce = false;
|
||||||
|
};
|
||||||
|
services.clightning-rest = mkIf lndconnect-clightning {
|
||||||
|
# clightning-rest always listens on "0.0.0.0"
|
||||||
|
tor.enforce = false;
|
||||||
|
};
|
||||||
|
|
||||||
nix-bitcoin.secrets = {
|
nix-bitcoin.secrets = {
|
||||||
wg-server-private-key = {};
|
wg-server-private-key = {};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user