feat: add rebuild script

This commit is contained in:
Mohammad Rafiq 2025-03-11 21:35:41 +08:00
parent fcd62641b1
commit 5332c0d278
5 changed files with 17 additions and 16 deletions

View file

@ -1,5 +1,14 @@
{
imports = [
./git-extract.nix
{ pkgs, ... }: {
home.packages = [
(pkgs.writers.writePython3Bin "git-extract" {
libraries = with pkgs.python3Packages; [
magic
chardet
];
} (builtins.readFile ./git-extract.py))
(pkgs.writeShellScriptBin "rebuild" (builtins.readFile ./rebuild.sh))
];
}