19 lines
419 B
Nix
19 lines
419 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
}
|