os/users/teutat3s/.config/git/config.nix

53 lines
1.5 KiB
Nix

{
config,
pkgs,
...
}: let
in
pkgs.lib.mkAfter '' [sendemail]
smtpserver = smtp.mailbox.org
smtpuser = jhonas@mailbox.org
smtpencryption = tls
smtpserverport = 587
[lfs]
repositoryformatversion = 0
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
line-numbers = true
syntax-theme = base16
minus-style = "red dim"
plus-style = "green dim"
zero-style = "white dim"
# delta detects terminal colors automatically; set one of these to disable auto-detection
# dark = true
# light = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[includeIf "gitdir:~/CodeRoom/greenbaum.cloud/"]
path = ~/.config/git/config_greenbaum.cloud
[includeIf "gitdir:~/CodeRoom/github.com/TritonDataCenter/"]
path = ~/.config/git/config_mnx
[includeIf "gitdir:~/CodeRoom/github.com/mnx-solutions/"]
path = ~/.config/git/config_mnx
[includeIf "gitdir:~/CodeRoom/git.b12f.io/"]
path = ~/.config/git/config_git.b12f.io
[includeIf "gitdir:~/CodeRoom/git.pub.solar/"]
path = ~/.config/git/config_git.b12f.io
[includeIf "gitdir:~/CodeRoom/codeberg.org/"]
path = ~/.config/git/config_git.b12f.io''