presets/wireguard: make compatible with secure-node preset
Disable Tor enforcement set by the secure-node preset.
This commit is contained in:
parent
8a8f32a4fa
commit
e784e0ceb8
1 changed files with 8 additions and 2 deletions
|
|
@ -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";
|
||||
# clightning-rest always listens on "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…
Add table
Add a link
Reference in a new issue