diff --git a/home-manager/default.nix b/home-manager/default.nix index 0e5b9cf..c025f25 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -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 diff --git a/home-manager/modules/tig.nix b/home-manager/modules/tig.nix new file mode 100644 index 0000000..880c232 --- /dev/null +++ b/home-manager/modules/tig.nix @@ -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 + ''; + }; +}