33 lines
635 B
Nix
33 lines
635 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
user = {
|
|
name = "michaotic";
|
|
email = "michaotic@iscg.dev";
|
|
};
|
|
init.defaultBranch = "main";
|
|
pull.rebase = true;
|
|
};
|
|
|
|
ignores = [
|
|
".DS_Store"
|
|
"*.swp"
|
|
];
|
|
};
|
|
|
|
# Use git-delta for pretty diffs
|
|
programs.delta = {
|
|
enable = true;
|
|
enableGitIntegration = true;
|
|
options = {
|
|
navigate = true; # n/N to move between files
|
|
light = false; # dark mode
|
|
line-numbers = true;
|
|
side-by-side = false;
|
|
syntax-theme = "Catppuccin Macchiato";
|
|
};
|
|
};
|
|
}
|