feat: git, neovim, starship modules
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{ 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user