fix[work]: fix aws,cdr commands, easier git switch in emacs

This commit is contained in:
Leon Schwarzäugl 2025-11-19 15:22:48 +01:00
parent 40e1adc402
commit 568350df9c
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
52 changed files with 4610 additions and 1364 deletions

View file

@ -1,11 +0,0 @@
{ name, writeShellApplication, fzf, findutils, home-manager, ... }:
writeShellApplication {
inherit name;
runtimeInputs = [ fzf findutils home-manager ];
text = ''
genpath=$(home-manager generations | head -1 | awk '{print $7}')
dirs=$(find "$genpath/specialisation" -type l 2>/dev/null; [ -d "$genpath" ] && echo "$genpath")
"$(echo "$dirs" | fzf --prompt="Choose home-manager specialisation to activate")"/activate
'';
}