47 lines
928 B
Nix
47 lines
928 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
programs.delta = {
|
|
enable = true;
|
|
enableGitIntegration = true;
|
|
options = {
|
|
navigate = true;
|
|
side-by-side = true;
|
|
line-numbers = true;
|
|
syntax-theme = "gruvbox-dark";
|
|
};
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
user.name = "Ayman Boukraa";
|
|
user.email = "your@email.com";
|
|
|
|
alias = {
|
|
st = "status";
|
|
co = "checkout";
|
|
br = "branch";
|
|
lg = "log --oneline --graph --decorate";
|
|
undo = "reset HEAD~1 --mixed";
|
|
};
|
|
|
|
init.defaultBranch = "master";
|
|
pull.rebase = true;
|
|
push.autoSetupRemote = true;
|
|
core.editor = "emacsclient -c";
|
|
diff.tool = "nvimdiff";
|
|
merge.tool = "nvimdiff";
|
|
};
|
|
|
|
ignores = [
|
|
".DS_Store"
|
|
"*.swp"
|
|
".direnv"
|
|
".envrc"
|
|
"result"
|
|
];
|
|
};
|
|
}
|