feature: dotfiles: Added .gitconfig

This commit is contained in:
Ivan Golikov 2026-09-11 23:13:00 +02:00
parent 9bf5a72c90
commit 124d6e29be
2 changed files with 30 additions and 0 deletions

29
dotfiles/.gitconfig Normal file
View file

@ -0,0 +1,29 @@
[user]
email = root@ivnglkv.me
name = Ivan Golikov
[push]
default = current
[diff]
external = difft
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[credential]
helper = cache --timeout=600
[core]
editor = nvim
autocrlf = input
[init]
defaultBranch = main

View file

@ -59,6 +59,7 @@
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
".gitconfig".source = dotfiles/.gitconfig;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''