This commit is contained in:
John Lancaster
2026-03-11 08:49:07 -05:00
parent dac3b84ffb
commit cf2ba8731d
19 changed files with 56 additions and 9 deletions

18
modules/programs/git.nix Normal file
View File

@@ -0,0 +1,18 @@
{
flake.modules.homeManager.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;
};
};
}