commit | d4c4867b204c44a3730d3f175713ce21264d6d21 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Thu Aug 04 16:19:48 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Thu Aug 04 16:19:48 2022 +0100 |
tree | cd4f9127810b0455afd7dd108e7f94128794cd4a | |
parent | 09e697e7309454ca264a389a5a9fc987080ca610 [diff] [blame] |
Add pre-commit
diff --git a/src/apps/personal/git.nix b/src/apps/personal/git.nix index cd27987..a6248cb 100644 --- a/src/apps/personal/git.nix +++ b/src/apps/personal/git.nix
@@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ pkgs, git-confirm, ... }: { programs.git = { enable = true; @@ -31,6 +31,8 @@ }; }; + home.file.".config/git/hooks/pre-commit".source = "${git-confirm}/hook.sh"; + home.packages = [ pkgs.git-review ];