nix-config/modules/home/shell/git.nix

26 lines
553 B
Nix
Raw Normal View History

2024-05-07 03:23:55 -04:00
{pkgs, ...}:
with pkgs; {
programs = {
git = {
enable = true;
package = gitAndTools.gitFull;
userName = "pupbrained";
userEmail = "mars@pupbrained.xyz";
aliases.pushall = "!git remote | xargs -L1 git push";
2024-10-30 12:04:46 -04:00
delta.enable = false;
2024-07-28 21:52:06 -04:00
signing.signByDefault = true;
2024-09-29 00:41:05 -04:00
lfs.enable = true;
2024-05-07 03:23:55 -04:00
extraConfig = {
init.defaultBranch = "main";
push.autoSetupRemote = true;
};
};
gh = {
enable = true;
extensions = [gh-copilot gh-dash gh-markdown-preview];
};
};
}