mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-12-22 20:13:04 +01:00
43 lines
903 B
Nix
43 lines
903 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
userEmail = "thilo.billerbeck@officerent.de";
|
|
userName = "Thilo Billerbeck";
|
|
extraConfig = {
|
|
color = {
|
|
diff = "auto";
|
|
status = "auto";
|
|
branch = "auto";
|
|
interactive = "auto";
|
|
ui = true;
|
|
pager = true;
|
|
};
|
|
log = {
|
|
date = "short";
|
|
};
|
|
rerere = {
|
|
enabled = "1";
|
|
};
|
|
core = {
|
|
whitespace = "fix,-indent-with-non-tab,trailing-space,cr-at-eol";
|
|
excludesfile = "~/.gitignore";
|
|
autocrlf = "input";
|
|
};
|
|
apply = {
|
|
whitespace = "nowarn";
|
|
};
|
|
branch = {
|
|
autosetuprebase = "always";
|
|
};
|
|
};
|
|
};
|
|
programs.git-credential-oauth = {
|
|
enable = true;
|
|
};
|
|
programs.gh.enable = true;
|
|
programs.gh-dash.enable = true;
|
|
programs.lazygit.enable = true;
|
|
}
|