21 lines
374 B
Nix
21 lines
374 B
Nix
{ pkgs, ... }: {
|
|
home.packages = with pkgs; [
|
|
git-credential-manager
|
|
];
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
package = pkgs.gitFull;
|
|
extraConfig.init.defaultBranch = "main";
|
|
|
|
extraConfig.credential = {
|
|
helper = "store";
|
|
credentialStore = "store";
|
|
};
|
|
|
|
aliases = {
|
|
tree = "log --oneline --decorate --all --graph";
|
|
};
|
|
};
|
|
}
|