mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
Compare commits
2 commits
e8484db9c3
...
4c132e6728
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c132e6728 | ||
|
|
83bab8d7d8 |
4 changed files with 25 additions and 0 deletions
11
modules/home/cli/utilities/rqbit/default.nix
Normal file
11
modules/home/cli/utilities/rqbit/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
home.packages = builtins.attrValues {
|
||||||
|
inherit (pkgs)
|
||||||
|
rqbit
|
||||||
|
;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -73,6 +73,7 @@ in
|
||||||
vsCode
|
vsCode
|
||||||
zathura
|
zathura
|
||||||
zed
|
zed
|
||||||
|
test
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
11
modules/home/gui/apps/test/default.nix
Normal file
11
modules/home/gui/apps/test/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
home.packages = builtins.attrValues {
|
||||||
|
inherit (pkgs)
|
||||||
|
# kanri
|
||||||
|
;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -63,6 +63,8 @@ in
|
||||||
${remoteRebuild}
|
${remoteRebuild}
|
||||||
${sshCommand}
|
${sshCommand}
|
||||||
${microVMSshCommand}
|
${microVMSshCommand}
|
||||||
|
addr:
|
||||||
|
http get https://mine.defensio.io/api/statistics/addr1q87k2jlckh6ujqx4ymkdd4jrhy6gukdtum0p77pdh5gqcw8ctl65fvaw097l32ta6m8hth3xu9cjfz70y34gs2mdfzlsj465th | get local_with_donate | get dfo_allocation | $in / 1000000
|
||||||
balance:
|
balance:
|
||||||
#!/usr/bin/env nu
|
#!/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 }
|
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 }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue