Files
dendritic/modules/home-manager/git.nix
John Lancaster 39c4cceb39 lazygit
2026-02-16 13:53:55 -06:00

19 lines
409 B
Nix

{
flake.homeModules.git = { config, lib, ... }:
{
programs.git = {
enable = true;
settings = {
credential.helper = "store --file ~/.git-credentials";
init.defaultBranch = "main";
push.autoSetupRemote = true;
};
};
programs.lazygit {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
};
}