this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

git: more config

Ovyerus 0f11a748 bdb35d11

+34 -4
+34 -4
modules/git.nix
··· 12 12 delta.enable = true; 13 13 14 14 extraConfig = { 15 + # TODO: custom pretty stuff? 16 + blame.showEmail = true; 17 + core.editor = "code --wait"; 18 + init.defaultBranch = "main"; 15 19 pull.rebase = true; 16 - init.defaultBranch = "main"; 17 - log.showSignature = true; 18 - core.editor = "code --wait"; 20 + 21 + log = { 22 + abbrevCommit = true; 23 + # TODO: `git log --oneline` looks silly with this. Need custom format. 24 + showSignature = true; 25 + # TODO: trial for a while and see if I like this. 26 + date = "human"; 27 + }; 19 28 29 + merge = { 30 + # Try to avoid merge commits 31 + ff = "only"; 32 + # Really only useful on a well-managed team. Maybe eventually. 33 + # verifySignatures = true; 34 + }; 35 + 36 + push = { 37 + autoSetupRemote = true; 38 + followTags = true; 39 + }; 40 + 41 + # Require explicit `drop` in interactive rebase 42 + rebase.missingCommitsCheck = "error"; 43 + rerere.enabled = true; 44 + 45 + status = { 46 + relativePaths = false; 47 + showStash = true; 48 + }; 49 + 50 + gpg.format = "ssh"; 20 51 gpg.ssh.allowedSignersFile = "~/.config/git/allowed_signers"; 21 52 user.signingKey = "~/.ssh/id_ed25519_sk_rk"; 22 - gpg.format = "ssh"; 23 53 commit.gpgsign = true; 24 54 tag.gpgsign = true; 25 55 # "gpg.ssh.program = "gfh-keygen";