updated flake inputs

This commit is contained in:
2026-02-18 15:52:27 -05:00
parent 79ffcea64b
commit b188e29dfd
19 changed files with 1616 additions and 316 deletions

View File

@@ -22,13 +22,6 @@
iv = "invoke";
cfgfilecount = ''find ".\.nix" $FLAKEPATH | wc -l | toilet -f 3d | lolcat'';
record = "wf-recorder";
#git
ga = "playshellsound ${self}/assets/sound/gitadd.wav; git add";
gcomm = "gitcommit_sfx";
gpush = "gitpush_sfx";
gpull = "gitpull_sfx";
greb = "gitrebase_sfx";
rsh = "$HOME/Coding/projects/rust/rsh/target/debug/rsh";
vide = "neovide";
pk9 = "pkill -9";
mkexe = "chmod +x";
@@ -36,6 +29,14 @@
suvi = "sudoedit";
suvide = "EDITOR=neovide; suvi";
rustdev = "nix develop github:km-clay/devshells#rust";
claude = "RAW_SHELL=1 claude";
#git
ga = "playshellsound ${self}/assets/sound/gitadd.wav; git add";
gcomm = "gitcommit_sfx";
gpush = "gitpush_sfx";
gpull = "gitpull_sfx";
greb = "gitrebase_sfx";
};
};
};

View File

@@ -13,6 +13,33 @@ in
config = lib.mkIf config.movOpts.envConfig.zshConfig.extraConfig.enable {
programs.zsh = {
initContent = ''
claude() {
bash -c "claude $@"
}
logmeds() {
date >> "$HOME"/medlog.txt
}
medlog() {
cat "$HOME"/medlog.txt
}
encrypt() {
if [ -z "$1" ]; then
echo "Usage: encrypt <text> [recipient]"
return 1
fi
if [ -z "$2" ]; then
gpg --encrypt --armor -r "$1"
else
echo "$1" | gpg --encrypt --armor -r "$2"
fi
}
decrypt() {
if [ -z "$1" ]; then
gpg --decrypt --quiet 2>/dev/null
else
echo "$1" | gpg --decrypt --quiet
fi
}
build-drv() { # Put the derivation path in $RESULT instead of making a 'result' symlink
RESULT=$(nix-build "$@" --no-link)
if [ -z "$RESULT" ]; then
@@ -107,6 +134,7 @@ in
}
unalias ls
ls() {
if [ "$RAW_SHELL" = "1" ]; then command ls; fi
eza -1 --group-directories-first --icons "$@"
${shellsound} ${sndpath}/ls.wav
return 0
@@ -126,6 +154,7 @@ in
}
cd() {
if [ "$RAW_SHELL" = "1" ]; then builtin cd "$@"; return $?; fi
local prev_sounds_enabled="$SOUNDS_ENABLED"
SOUNDS_ENABLED=0
eza -1 --group-directories-first --icons "$@"