remove bisq auto-link tile and autoconnect service
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/50ccdba4-2fbf-4c08-b7ae-7d1b92f7a75e Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
80fea3301b
commit
59cbc8d4e9
@@ -63,10 +63,6 @@ let
|
||||
{ label = "Server"; value = "tcp://127.0.0.1:50001 (Electrs)"; }
|
||||
{ label = "Status"; value = "Auto-configured on first boot"; }
|
||||
]; }
|
||||
{ name = "Bisq Auto-Link"; unit = "bisq-autoconnect.service"; type = "system"; icon = "bisq"; enabled = cfg.services.bitcoin; category = "bitcoin-apps"; credentials = [
|
||||
{ label = "Node"; value = "127.0.0.1:8333 (Bitcoin Core)"; }
|
||||
{ label = "Status"; value = "Auto-configured on first boot"; }
|
||||
]; }
|
||||
{ name = "Mempool"; unit = "mempool.service"; type = "system"; icon = "mempool"; enabled = cfg.features.mempool; category = "bitcoin-apps"; credentials = [
|
||||
{ label = "Tor Access"; file = "/var/lib/tor/onion/mempool-frontend/hostname"; prefix = "http://"; }
|
||||
{ label = "Local Network"; file = "/var/lib/secrets/internal-ip"; prefix = "http://"; suffix = ":60847"; }
|
||||
|
||||
@@ -42,37 +42,6 @@ EOF
|
||||
'';
|
||||
};
|
||||
|
||||
# ── Bisq 1 Auto-Connect ─────────────────────────────────────
|
||||
systemd.services.bisq-autoconnect = {
|
||||
description = "Auto-configure Bisq to use local Bitcoin node";
|
||||
after = [ "bitcoind.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
path = [ pkgs.coreutils pkgs.iproute2 ];
|
||||
script = ''
|
||||
BISQ_CONF="/home/free/.local/share/Bisq/bisq.properties"
|
||||
|
||||
if [ -f "$BISQ_CONF" ]; then
|
||||
echo "Bisq config already exists, skipping"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p /home/free/.local/share/Bisq
|
||||
|
||||
cat > "$BISQ_CONF" << 'EOF'
|
||||
btcNodes=127.0.0.1
|
||||
useTorForBtc=true
|
||||
useCustomBtcNodes=true
|
||||
EOF
|
||||
|
||||
chown -R free:users /home/free/.local/share/Bisq
|
||||
echo "Bisq auto-configured to use local Bitcoin node"
|
||||
'';
|
||||
};
|
||||
|
||||
# ── Zeus Connect (lndconnect URL for mobile wallet) ──────────
|
||||
systemd.services.zeus-connect-setup = {
|
||||
description = "Save Zeus lndconnect URL";
|
||||
|
||||
Reference in New Issue
Block a user