nix/module/common/Git.nix

13 lines
241 B
Nix
Raw Normal View History

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