2024-02-27 02:54:02 +01:00
|
|
|
{ pkgs, ... }:
|
2023-05-02 22:47:01 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
programs.git = {
|
2023-05-02 23:16:23 +02:00
|
|
|
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;
|
2023-05-02 22:47:01 +02:00
|
|
|
};
|
2024-05-28 14:38:22 +02:00
|
|
|
log = {
|
|
|
|
date = "short";
|
|
|
|
};
|
|
|
|
rerere = {
|
|
|
|
enabled = "1";
|
|
|
|
};
|
2023-05-02 23:16:23 +02:00
|
|
|
core = {
|
|
|
|
whitespace = "fix,-indent-with-non-tab,trailing-space,cr-at-eol";
|
2023-07-21 22:50:24 +02:00
|
|
|
excludesfile = "~/.gitignore";
|
2023-05-02 23:16:23 +02:00
|
|
|
autocrlf = "input";
|
|
|
|
};
|
2024-05-28 14:38:22 +02:00
|
|
|
apply = {
|
|
|
|
whitespace = "nowarn";
|
|
|
|
};
|
|
|
|
branch = {
|
|
|
|
autosetuprebase = "always";
|
|
|
|
};
|
2023-05-02 22:47:01 +02:00
|
|
|
};
|
2023-05-02 23:16:23 +02:00
|
|
|
};
|
2024-05-28 14:38:22 +02:00
|
|
|
programs.git-credential-oauth = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-03-18 22:53:37 +01:00
|
|
|
programs.gh.enable = true;
|
|
|
|
programs.gh-dash.enable = true;
|
|
|
|
programs.lazygit.enable = true;
|
2023-05-02 22:47:01 +02:00
|
|
|
}
|