presets/wireguard: make compatible with secure-node preset
Disable Tor enforcement set by the secure-node preset.
This commit is contained in:
@@ -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 = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user