| { pkgs, git-confirm, ... }: { |
| userName = "Skyler Grey"; |
| userEmail = "skyler3665@gmail.com"; |
| key = "A773 0F0B 1D2C 7E65 DFCB C536 8BE7 C115 369E 52A1"; |
| recommit = "!git commit -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG"; |
| git commit --quiet --no-verify -m \"temp for stash-working\" && \ |
| git stash push \"$@\" && \ |
| git reset --quiet --soft HEAD~1; |
| }; f''; # https://stackoverflow.com/a/60875082/12293760 |
| init.defaultBranch = "development"; |
| credential.helper = "store"; |
| core.untrackedCache = true; |
| hooks.confirm.match = [ "TODO" "FIXME" "HACK" "BUG" "XXX" "LAZY" ]; |
| home.file.".config/git/hooks/pre-commit".source = "${git-confirm}/hook.sh"; |