37 lines
704 B
Nix
37 lines
704 B
Nix
{pkgs, ...}: {
|
|
programs.git = {
|
|
enable = true;
|
|
userEmail = "osmanfbayram@gmail.com";
|
|
userName = "osbm";
|
|
signing.format = "ssh";
|
|
ignores = [
|
|
"*.pyc" # python
|
|
"*.swp" # vim
|
|
"__pycache__" # python
|
|
".DS_Store" # macOS
|
|
"result" # nix
|
|
"node_modules" # node
|
|
];
|
|
extraConfig = {
|
|
credential = {
|
|
helper = "store";
|
|
};
|
|
core = {
|
|
editor = "vim";
|
|
pager = "cat";
|
|
};
|
|
init = {
|
|
defaultBranch = "main";
|
|
};
|
|
http = {
|
|
postBuffer = 1048576000;
|
|
};
|
|
https = {
|
|
postBuffer = 1048576000;
|
|
};
|
|
push = {
|
|
autoSetupRemote = true;
|
|
};
|
|
};
|
|
};
|
|
}
|