mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
lazygit is also a HM program; use a theme that works with kitty
This commit is contained in:
parent
a290f3fc46
commit
67f500a6ba
2 changed files with 14 additions and 2 deletions
14
home/git.nix
14
home/git.nix
|
|
@ -1,6 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.lazygit ];
|
||||
programs.git = {
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
enable = true;
|
||||
|
|
@ -27,4 +26,17 @@
|
|||
core.symlinks = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# This looks better with the kitty theme.
|
||||
gui.theme = {
|
||||
lightTheme = false;
|
||||
activeBorderColor = [ "white" "bold" ];
|
||||
inactiveBorderColor = [ "white" ];
|
||||
selectedLineBgColor = [ "reverse" "white" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
shellAliases = {
|
||||
e = "nvim";
|
||||
g = "${pkgs.git}/bin/git";
|
||||
lg = "${pkgs.lazygit}/bin/lazygit";
|
||||
lg = "lazygit";
|
||||
l = "${pkgs.exa}/bin/exa";
|
||||
ll = "${pkgs.exa}/bin/exa -l";
|
||||
ls = "l";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue