Files
dendritic/modules/home-manager/git.nix
John Lancaster 8c42e5a8f4 fix
2026-02-16 13:54:21 -06:00

19 lines
411 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;
};
};
}