2022-03-06 07:55:08 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2022-01-18 13:49:11 +00:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.gitAndTools.gitFull;
|
|
|
|
lfs.enable = true;
|
|
|
|
signing.signByDefault = true;
|
2022-02-02 16:47:02 +00:00
|
|
|
signing.key = "AB2BD8DAF2E37122";
|
2022-01-18 13:49:11 +00:00
|
|
|
userEmail = "lotte@chir.rs";
|
|
|
|
userName = "Charlotte 🦝 Delenk";
|
2022-05-13 20:47:21 +00:00
|
|
|
extraConfig = {
|
|
|
|
init.defaultBranch = "main";
|
|
|
|
merge.conflictstyle = "diff3";
|
2022-06-10 19:44:01 +00:00
|
|
|
diff = {
|
|
|
|
tool = "kitty";
|
|
|
|
guitool = "kitty.gui";
|
|
|
|
};
|
|
|
|
difftool = {
|
|
|
|
prompt = false;
|
|
|
|
trustExitCode = true;
|
|
|
|
kitty.cmd = "${pkgs.kitty}/bin/kitty +kitten diff $LOCAL $REMOTE";
|
|
|
|
"kitty.gui".cmd = "${pkgs.kitty}/bin/kitty ${pkgs.kitty}/bin/kitty +kitten diff $LOCAL $REMOTE";
|
|
|
|
};
|
2022-05-13 20:47:21 +00:00
|
|
|
};
|
2022-01-18 13:49:11 +00:00
|
|
|
};
|
2022-01-19 08:28:39 +00:00
|
|
|
}
|