home: Added config file for tig
This commit is contained in:
parent
412649bbde
commit
d720a4bbbd
|
@ -26,6 +26,7 @@ in
|
||||||
modules/zsh.nix
|
modules/zsh.nix
|
||||||
modules/foot.nix
|
modules/foot.nix
|
||||||
modules/manual.nix
|
modules/manual.nix
|
||||||
|
modules/tig.nix
|
||||||
../secrets/ssh-config.nix
|
../secrets/ssh-config.nix
|
||||||
] ++ lib.optionals (config.networking.hostName == "jimbo") [
|
] ++ lib.optionals (config.networking.hostName == "jimbo") [
|
||||||
modules/kanshi.nix
|
modules/kanshi.nix
|
||||||
|
|
20
home-manager/modules/tig.nix
Normal file
20
home-manager/modules/tig.nix
Normal 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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue