mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-07 13:11:07 +01:00
colored delta & gitignore
This commit is contained in:
parent
3fa5dc77da
commit
0e48b9697d
2 changed files with 20 additions and 3 deletions
2
gitignore
Normal file
2
gitignore
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
.cache
|
||||
compile_commands.json
|
||||
21
home.nix
21
home.nix
|
|
@ -106,11 +106,25 @@ in
|
|||
|
||||
git = {
|
||||
enable = true;
|
||||
delta = {
|
||||
enable = true;
|
||||
};
|
||||
userName = "Quentin Boyer";
|
||||
userEmail = localinfo.email;
|
||||
delta = {
|
||||
enable = true;
|
||||
options = {
|
||||
line-numbers = true;
|
||||
syntax-theme = "Dracula";
|
||||
plus-style = "auto \"#121bce\"";
|
||||
plus-emph-style = "auto \"#6083eb\"";
|
||||
};
|
||||
};
|
||||
extraConfig = {
|
||||
diff = {
|
||||
algorithm = "histogram";
|
||||
};
|
||||
core = {
|
||||
excludesfile = "${localinfo.homeDir}/.gitignore";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
zoxide = {
|
||||
|
|
@ -174,6 +188,7 @@ in
|
|||
};
|
||||
".zprofile".source = ./zprofile;
|
||||
".p10k.zsh".source = ./p10k.zsh;
|
||||
".gitignore".source = ./gitignore;
|
||||
"bin" = {
|
||||
source = ./scripts;
|
||||
recursive = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue