mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
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`.
|
||||
# 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 {
|
||||
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 = {
|
||||
wg-server-private-key = {};
|
||||
|
Loading…
Reference in New Issue
Block a user