feat(nix): add scripts for zk, edit, commit and rebuild
This commit is contained in:
parent
782bbcbaa3
commit
08090fa25c
5 changed files with 244 additions and 9 deletions
|
@ -38,15 +38,10 @@ in
|
|||
fastfetch
|
||||
ripgrep
|
||||
aichat
|
||||
(pkgs.writeShellScriptBin "note" # bash
|
||||
''
|
||||
zk edit -i
|
||||
pushd ~/notebook > /dev/null
|
||||
git add .
|
||||
commit -u
|
||||
popd > /dev/null
|
||||
''
|
||||
)
|
||||
(import ./_scripts/edit.nix { inherit pkgs; })
|
||||
(import ./_scripts/commit.nix { inherit pkgs; })
|
||||
(import ./_scripts/note.nix { inherit pkgs; })
|
||||
(import ./_scripts/rebuild.nix { inherit pkgs; })
|
||||
];
|
||||
};
|
||||
programs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue