commit 083cd53f638bae1c104f7e846d7290e385e5e873
parent b081caa08df35a82448000c4b7464a6e640fb87c
Author: mtmn <miro@haravara.org>
Date: Thu, 18 Jun 2026 01:03:58 +0200
dotfiles: add shi alias, extend isolate env
Diffstat:
5 files changed, 13 insertions(+), 20 deletions(-)
diff --git a/hosts/void/default.nix b/hosts/void/default.nix
@@ -72,6 +72,8 @@
iperf3
sshuttle
sshs
+ riemann
+ riemann-tools
]
(with python314Packages; [yt-dlp-ejs])
];
diff --git a/hosts/void/overlays/config/magdalena/config.json.nix b/hosts/void/overlays/config/magdalena/config.json.nix
Binary files differ.
diff --git a/modules/mixins/dotfiles/bin/isolate b/modules/mixins/dotfiles/bin/isolate
@@ -49,6 +49,7 @@ done
for p in \
"$HOME/.codex" \
"$HOME/.claude" \
+ "$HOME/.claude.json" \
"$HOME/.cache/opencode" \
"$HOME/.config/opencode" \
"$HOME/.local/share/opencode" \
diff --git a/modules/mixins/dotfiles/bin/shist b/modules/mixins/dotfiles/bin/shist
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-set -euo pipefail
-
-HOST="helios"
-DB="/var/db/shirts/data.db"
-
-ssh -o BatchMode=yes "$HOST" \
- "sqlite3 -json '$DB' 'select code, url, created_at from shirts order by created_at asc'" |
- jaq -r '
- "[1mshirts[0m [2m(\(length))[0m\n",
- ( .[] |
- " [1;36mhttps://shirts.mtmn.name/s/\(.code)[0m [2m\(.created_at)[0m\n" +
- " [34m\(.url)[0m"
- )
- '
diff --git a/modules/mixins/dotfiles/config/shell/rc/functions b/modules/mixins/dotfiles/config/shell/rc/functions
@@ -117,10 +117,20 @@ make() {
fi
}
+kana() {
+ khal new --alarms "$@"
+ vdirsyncer sync
+}
+
mpas() {
mpc add "$(yt-dlp -f bestaudio -g "${1?}")"
}
+shi() {
+ xh -b GET "$(pass show shirts/history)" \
+ "Authorization:Bearer $(pass show shirts)"
+}
+
mpa() {
mpc add "${1?}"
}
@@ -130,11 +140,6 @@ kan() {
vdirsyncer sync
}
-kana() {
- khal new --alarms "$@"
- vdirsyncer sync
-}
-
ae() {
if tmux has-session -t aerc 2>/dev/null; then
if [ -n "$TMUX" ]; then