feat(nix): add scripts for zk, edit, commit and rebuild

This commit is contained in:
Mohammad Rafiq 2025-07-09 04:20:46 +08:00
parent 782bbcbaa3
commit 08090fa25c
No known key found for this signature in database
5 changed files with 244 additions and 9 deletions

View file

@ -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 = {