home: Added config file for tig

This commit is contained in:
fleaz 2023-12-18 21:00:43 +01:00
parent 412649bbde
commit d720a4bbbd
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
2 changed files with 21 additions and 0 deletions

View file

@ -26,6 +26,7 @@ in
modules/zsh.nix
modules/foot.nix
modules/manual.nix
modules/tig.nix
../secrets/ssh-config.nix
] ++ lib.optionals (config.networking.hostName == "jimbo") [
modules/kanshi.nix

View file

@ -0,0 +1,20 @@
{
home.file."tig_config" = {
enable=true;
target="/home/fleaz/.config/tig/config";
text=''
# Use Git's default (reverse chronological) order, never automatically
# use topo-order for the commit graph
set commit-order = default
# Limit number of commits loaded by default to 1000
set main-options = -n 1000
# Don't show staged and unstaged changes in the main view
set show-changes = no
# Optionally, use the old and faster but less acurate graph renderer
#set main-view-commit-title-graph = v1
'';
};
}