use lazygit pr with fixed UI

v49 added a bad UI option with no config to change it

revert to main once https://github.com/jesseduffield/lazygit/pull/4593
is merged and updated in nixpkgs

also refactors lazygit into its own module and removes the config file
This commit is contained in:
sadan 2025-05-25 18:21:28 -04:00
parent 6da6046b73
commit 3bca2d74df
No known key found for this signature in database
4 changed files with 80 additions and 48 deletions

View file

@ -1,32 +1,21 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
{
imports = [
./pinned.nix
./lazygit.nix
];
home = {
packages = with pkgs; [
git
pinned.lazygit
act
gh
];
file = {
lazygit = {
recursive = true;
source = ../../../dotfiles/lazygit;
target = "./.config/lazygit";
};
gh = {
ghcli = {
source = ../../../dotfiles/gh/config.yml;
target = "./.config/gh/config.yml";
};
};
shellAliases = {
lg = "lazygit";
};
sessionVariables = {
LG_CONFIG_FILE = "/home/${config.home.username}/.config/lazygit/tokyonight_night.conf";
};
};
programs = {
git = {