feat: add ollama, git-delta, alejandra, broot, trash-cli, texliveFull; extract git.nix
This commit is contained in:
parent
4ab3ecc2d0
commit
23aec94f2a
3 changed files with 43 additions and 2 deletions
34
home/git.nix
Normal file
34
home/git.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
# Use git-delta for pretty diffs
|
||||
delta = {
|
||||
enable = true;
|
||||
options = {
|
||||
navigate = true; # n/N to move between files
|
||||
light = false; # dark mode
|
||||
line-numbers = true;
|
||||
side-by-side = false;
|
||||
syntax-theme = "Catppuccin-mocha";
|
||||
};
|
||||
};
|
||||
|
||||
# Git user config
|
||||
settings = {
|
||||
user = {
|
||||
name = "michaotic";
|
||||
email = "michaotic@iscg.dev";
|
||||
};
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
};
|
||||
|
||||
# Extra gitignore
|
||||
ignores = [
|
||||
".DS_Store"
|
||||
"*.swp"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue