feat: add ollama, git-delta, alejandra, broot, trash-cli, texliveFull; extract git.nix

This commit is contained in:
mikl 2026-07-01 02:00:38 +03:00
commit 23aec94f2a
3 changed files with 43 additions and 2 deletions

34
home/git.nix Normal file
View 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"
];
};
}