feat: move self-defined packages to own files

This commit is contained in:
Swarsel 2024-07-29 09:10:04 +02:00
parent 2390199b8a
commit db231d4b83
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
8 changed files with 191 additions and 106 deletions

9
pkgs/cdw/default.nix Normal file
View file

@ -0,0 +1,9 @@
{ writeShellApplication, fzf }:
writeShellApplication {
name = "cdw";
runtimeInputs = [ fzf ];
text = ''
cd "$(git worktree list | fzf | awk '{print $1}')"
'';
}