Skip to content

Commit

Permalink
trustedcoin: explicitly use the HTTPS_PROXY for external connections
Browse files Browse the repository at this point in the history
  • Loading branch information
seberm committed Apr 14, 2023
1 parent 4942130 commit be1f768
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/clightning-plugins/trustedcoin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ let cfg = config.services.clightning.plugins.trustedcoin; in
plugin=${cfg.package}/bin/trustedcoin
disable-plugin=bcli
'';

# Trustedcoin does not honor the clightning's proxy configuration.
systemd.services.clightning.environment = mkIf (config.services.clightning.proxy != null) {
HTTPS_PROXY = "socks5://${config.services.clightning.proxy}";
};
# Ref.: https://github.com/nbd-wtf/trustedcoin/pull/19
};
}

0 comments on commit be1f768

Please sign in to comment.