Skyler Grey | edd2605 | 2022-07-29 13:17:52 +0100 | [diff] [blame] | 1 | { pkgs, ... }: { |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 2 | programs.git = { |
| 3 | enable = true; |
| 4 | |
Skyler Turner | f6fc558 | 2022-05-15 19:16:00 +0100 | [diff] [blame] | 5 | userName = "Skyler Grey"; |
Skyler Grey | d982c4e | 2022-05-23 09:41:16 +0100 | [diff] [blame] | 6 | userEmail = "skyler3665@gmail.com"; |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 7 | |
| 8 | signing = { |
Skyler Grey | 2c395d3 | 2022-05-23 09:44:14 +0100 | [diff] [blame] | 9 | key = "A773 0F0B 1D2C 7E65 DFCB C536 8BE7 C115 369E 52A1"; |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 10 | signByDefault = true; |
| 11 | gpgPath = "gpg2"; |
| 12 | }; |
| 13 | |
| 14 | lfs.enable = true; |
| 15 | delta.enable = true; |
| 16 | |
Skyler Grey | 1196d74 | 2022-08-03 14:07:13 +0100 | [diff] [blame] | 17 | aliases = { |
| 18 | recommit = "!git commit -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG"; |
| 19 | }; |
| 20 | |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 21 | extraConfig = { |
| 22 | init.defaultBranch = "development"; |
| 23 | color.ui = "auto"; |
| 24 | core.autocrlf = "input"; |
Skyler Grey | 8dee1c0 | 2022-08-01 09:36:38 +0100 | [diff] [blame] | 25 | pull.rebase = "merges"; |
Skyler Turner | 63572a5 | 2022-05-10 15:28:29 +0100 | [diff] [blame] | 26 | credential.helper = "store"; |
Skyler Grey | 5db7040 | 2022-07-26 22:31:16 +0100 | [diff] [blame] | 27 | commit.signOff = true; |
Skyler Grey | 62e6ae1 | 2022-08-02 08:30:04 +0100 | [diff] [blame] | 28 | core.splitIndex = true; |
| 29 | core.untrackedCache = true; |
| 30 | core.fsmonitor = true; |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 31 | }; |
| 32 | }; |
Skyler Grey | edd2605 | 2022-07-29 13:17:52 +0100 | [diff] [blame] | 33 | |
| 34 | home.packages = [ |
| 35 | pkgs.git-review |
| 36 | ]; |
Skyler Turner | 63572a5 | 2022-05-10 15:28:29 +0100 | [diff] [blame] | 37 | } |