Files
dendritic/modules/programs/git.nix
T
2026-03-26 21:53:16 -05:00

21 lines
512 B
Nix

{ self, inputs, ... }: {
flake.modules.homeManager.git = { config, pkgs, lib, ... }: {
home.packges = with pkgs; [
git-credential-oauth
];
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;
};
};
}