move packages to packages folder and abstract out tmux-sessionizer

This commit is contained in:
Callum Leslie 2024-09-08 20:55:34 +01:00
parent e897059004
commit c1fb306ed1
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90
5 changed files with 29 additions and 21 deletions

View file

@ -0,0 +1,8 @@
{pkgs}: let
name = "tmux-sessionizer";
runtimeInputs = [pkgs.tmux pkgs.ghq pkgs.fzf];
text = builtins.readFile ./tmux-sessionizer.sh;
in
pkgs.writeShellApplication {
inherit name runtimeInputs text;
}