feat: added rqbit

This commit is contained in:
Nick 2025-11-22 16:15:35 -06:00
parent e8484db9c3
commit 83bab8d7d8
2 changed files with 13 additions and 0 deletions

View file

@ -63,6 +63,8 @@ in
${remoteRebuild}
${sshCommand}
${microVMSshCommand}
addr:
http get https://mine.defensio.io/api/statistics/addr1q87k2jlckh6ujqx4ymkdd4jrhy6gukdtum0p77pdh5gqcw8ctl65fvaw097l32ta6m8hth3xu9cjfz70y34gs2mdfzlsj465th | get local_with_donate | get dfo_allocation | $in / 1000000
balance:
#!/usr/bin/env nu
let results = [${balanceHosts}] | each { |h| let val = (^ssh ...($h.ssh | split row " ") 'nu -c "open /var/lib/defenseio-data/MidnightMiner/balances.json | get snapshots | last | get balance"' | into float); print $"($h.name):"; print $val; $val }