Full rewrite

This commit is contained in:
Hadi
2026-08-14 11:14:54 +02:00
parent 22570eb657
commit deda1a9868
510 changed files with 1191 additions and 12242 deletions
+38
View File
@@ -0,0 +1,38 @@
{
pkgs,
gitHooksLib,
}: let
hooks = gitHooksLib.run {
src = ./.;
hooks = {
check-filename-format = {
enable = true;
name = "check-filename-format";
entry = "bash .github/scripts/check-filename-format.sh";
language = "system";
files = "(wallpapers/)";
pass_filenames = false;
};
convert-to-png = {
enable = true;
name = "convert-to-png";
entry = "bash .github/scripts/convert-to-png.sh";
language = "system";
files = "(wallpapers/)";
pass_filenames = false;
};
create-markdowns = {
enable = true;
name = "create-markdowns";
entry = "bash .github/scripts/create-markdowns.sh";
language = "system";
files = "(wallpapers/)";
pass_filenames = false;
};
};
};
in
pkgs.mkShell {
packages = hooks.enabledPackages ++ (with pkgs; [imagemagick oxipng gifsicle]);
shellHook = hooks.shellHook;
}