30 lines
624 B
Nix
30 lines
624 B
Nix
{pkgs, ...}:
|
|
with pkgs; {
|
|
programs = {
|
|
git = {
|
|
enable = true;
|
|
package = gitAndTools.gitFull;
|
|
userName = "pupbrained";
|
|
userEmail = "mars@pupbrained.xyz";
|
|
aliases.pushall = "!git remote | xargs -L1 git push";
|
|
delta.enable = true;
|
|
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
push.autoSetupRemote = true;
|
|
credential.helper = "libsecret";
|
|
};
|
|
|
|
signing = {
|
|
signByDefault = true;
|
|
key = "EF82E8CA83FF158C";
|
|
};
|
|
};
|
|
|
|
gh = {
|
|
enable = true;
|
|
extensions = [gh-copilot gh-dash gh-markdown-preview];
|
|
};
|
|
};
|
|
}
|