nodeinfo: add btcpayserver onion
This commit is contained in:
parent
15b574faa7
commit
605b37c16e
@ -48,6 +48,12 @@ let
|
|||||||
echo ELECTRS_ONION="$ELECTRS_ONION"
|
echo ELECTRS_ONION="$ELECTRS_ONION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
BTCPAYSERVER_ONION_FILE=/var/lib/onion-chef/${operatorName}/btcpayserver
|
||||||
|
if [ -e "$BTCPAYSERVER_ONION_FILE" ]; then
|
||||||
|
BTCPAYSERVER_ONION="$(cat $BTCPAYSERVER_ONION_FILE)"
|
||||||
|
echo BTCPAYSERVER_ONION="$BTCPAYSERVER_ONION"
|
||||||
|
fi
|
||||||
|
|
||||||
SSHD_ONION_FILE=/var/lib/onion-chef/${operatorName}/sshd
|
SSHD_ONION_FILE=/var/lib/onion-chef/${operatorName}/sshd
|
||||||
if [ -e "$SSHD_ONION_FILE" ]; then
|
if [ -e "$SSHD_ONION_FILE" ]; then
|
||||||
SSHD_ONION="$(cat $SSHD_ONION_FILE)"
|
SSHD_ONION="$(cat $SSHD_ONION_FILE)"
|
||||||
|
@ -177,7 +177,7 @@ in {
|
|||||||
nix-bitcoin.netns-isolation.allowedUser = operatorName;
|
nix-bitcoin.netns-isolation.allowedUser = operatorName;
|
||||||
# Give operator access to onion hostnames
|
# Give operator access to onion hostnames
|
||||||
services.onion-chef.enable = true;
|
services.onion-chef.enable = true;
|
||||||
services.onion-chef.access.${operatorName} = [ "bitcoind" "clightning" "nginx" "liquidd" "spark-wallet" "electrs" "sshd" ];
|
services.onion-chef.access.${operatorName} = [ "bitcoind" "clightning" "nginx" "liquidd" "spark-wallet" "electrs" "btcpayserver" "sshd" ];
|
||||||
|
|
||||||
security.sudo.configFile =
|
security.sudo.configFile =
|
||||||
(optionalString cfg.lnd.enable ''
|
(optionalString cfg.lnd.enable ''
|
||||||
|
Loading…
Reference in New Issue
Block a user