nix/module/common/Git.nix
2024-03-04 03:04:57 +03:00

13 lines
241 B
Nix

{ pkgs, ... }: {
programs.git = {
enable = true;
config = {
credential.helper = "store";
init.defaultBranch = "main";
pull.rebase = true;
push.autoSetupRemote = true;
rebase.autoStash = true;
};
};
}