2022-01-23 01:32:58 +00:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Git
|
|
|
|
# https://rycee.gitlab.io/home-manager/options.html#opt-programs.git.enable
|
|
|
|
# Aliases config imported in flake.
|
|
|
|
programs.git.enable = true;
|
|
|
|
|
|
|
|
programs.git.extraConfig = {
|
|
|
|
core.editor = "${pkgs.neovim-remote}/bin/nvr --remote-wait-silent -cc split";
|
|
|
|
diff.colorMoved = "default";
|
|
|
|
pull.rebase = true;
|
2022-02-07 05:09:16 +00:00
|
|
|
init.defaultBranch = "main";
|
2022-01-23 01:32:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.git.ignores = [
|
|
|
|
".DS_Store"
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.git.userEmail = "mat@mat.services";
|
|
|
|
programs.git.userName = "mat ess";
|
|
|
|
|
|
|
|
# Enhanced diffs
|
|
|
|
programs.git.delta.enable = true;
|
|
|
|
|
2022-07-05 00:20:31 +00:00
|
|
|
# Gitea CLI
|
2022-07-04 22:42:19 +00:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
tea
|
|
|
|
];
|
2022-01-23 23:50:34 +00:00
|
|
|
}
|