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

25 lines
527 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-05-28 04:08:06 -04:00
delta.enable = true;
2024-07-28 21:52:06 -04:00
signing.signByDefault = 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];
};
};
}