aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/development/lazygit/default.nix31
1 files changed, 29 insertions, 2 deletions
diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix
index 2c920c2..e821258 100644
--- a/modules/development/lazygit/default.nix
+++ b/modules/development/lazygit/default.nix
@@ -5,7 +5,6 @@
options.development.lazygit = {
enable = lib.mkEnableOption "Enables lazygit.";
};
-
config = lib.mkIf config.development.lazygit.enable {
programs.lazygit = {
enable = true;
@@ -13,11 +12,35 @@
enableFishIntegration = config.programs.fish.enable;
enableNushellIntegration = config.programs.nushell.enable;
enableZshIntegration = config.terminal.zsh.enable;
-
settings = {
gui = {
theme = {
lightTheme = false;
+ activeBorderColor = [
+ "blue"
+ "bold"
+ ];
+ inactiveBorderColor = [ "brightblack" ];
+ optionsTextColor = [ "blue" ];
+ selectedLineBgColor = [ "black" ];
+ selectedRangeBgColor = [ "black" ];
+ cherryPickedCommitBgColor = [ "cyan" ];
+ cherryPickedCommitFgColor = [ "blue" ];
+ markedBaseCommitBgColor = [ "yellow" ];
+ markedBaseCommitFgColor = [ "blue" ];
+ unstagedChangesColor = [ "red" ];
+ defaultFgColor = [ "white" ];
+ searchingActiveBorderColor = [
+ "yellow"
+ "bold"
+ ];
+ };
+ authorColors = {
+ "*" = "magenta";
+ };
+ branchColors = {
+ "master" = "red";
+ "main" = "red";
};
showIcons = true;
scrollHeight = 2;
@@ -25,6 +48,10 @@
scrollPastBottom = true;
mouseEvents = true;
border = "single";
+ commitHashLength = 4;
+ showBranchCommitHash = true;
+ showDivergenceFromBaseBranch = "arrowAndNumber";
+ autoFetch = false;
};
git = {
log.showWholeGraph = true;