Add additional git configuration

This commit is contained in:
Lauren Lagarde 2025-07-01 19:57:08 -05:00
parent 36cf8102c9
commit f16ed2e1b0
3 changed files with 21 additions and 0 deletions

View File

@ -4,6 +4,7 @@
imports = [
./programs/vim.nix
./programs/gpg.nix
./programs/git.nix
];
# Self-hosting

View File

@ -0,0 +1,20 @@
{ 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";
};
};
}

Binary file not shown.