use difftastic

This commit is contained in:
nicco
2026-03-27 10:09:14 +01:00
parent 1d0fae719d
commit ef91455367
6 changed files with 15 additions and 9 deletions

View File

@@ -17,7 +17,6 @@ with pkgs;
wget wget
rsync rsync
yq yq
delta
# Rust utils # Rust utils
bat bat
@@ -30,6 +29,7 @@ with pkgs;
dust dust
yazi yazi
starship starship
difftastic
# Dev # Dev
lazydocker lazydocker

View File

@@ -22,7 +22,6 @@
wget wget
rsync rsync
yq yq
delta
kubectl kubectl
croc croc
asciinema_3 asciinema_3
@@ -41,6 +40,7 @@
yazi yazi
starship starship
ouch ouch
difftastic
# TUI # TUI
lazydocker lazydocker

View File

@@ -4,12 +4,9 @@
process = git-lfs filter-process process = git-lfs filter-process
required = true required = true
[core] [core]
pager = delta
excludesfile = ~/.gitignore_global excludesfile = ~/.gitignore_global
autocrlf = input autocrlf = input
ignorecase=false ignorecase=false
[interactive]
diffFilter = delta --color-only
[pull] [pull]
rebase = false rebase = false
@@ -31,5 +28,5 @@
[include] [include]
path = ~/.gitconfig.local path = ~/.gitconfig.local
[delta] [diff]
navigate = true external = difft

View File

@@ -0,0 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/jesseduffield/lazygit/master/schema/config.json
git:
pagers:
- externalDiffCommand: difft --color=always

View File

@@ -33,8 +33,8 @@ let
".gitconfig".source = ../files/git/gitconfig; ".gitconfig".source = ../files/git/gitconfig;
".gitignore_global".source = ../files/git/gitignore_global; ".gitignore_global".source = ../files/git/gitignore_global;
".gitconfig.local".source = ../secrets/git/config.${host.hostName}; ".gitconfig.local".source = ../secrets/git/config.${host.hostName};
".config/nvim".source = ../files/nvim; ".config/lazygit/config.yml".source = ../files/lazygit/config.yaml;
"Library/Application Support/lazydocker/config.yml".source = ../files/lazydocker/config.yml; ".config/lazydocker/config.yml".source = ../files/lazydocker/config.yml;
# Secrets # Secrets
".ssh/config".text = builtins.replaceStrings [ "@SSH_KEY@" ] [ host.sshKey ] ( ".ssh/config".text = builtins.replaceStrings [ "@SSH_KEY@" ] [ host.sshKey ] (
@@ -51,6 +51,10 @@ let
vai = "sudo darwin-rebuild switch --flake ~/.config/dotfiles#${host.hostName}"; vai = "sudo darwin-rebuild switch --flake ~/.config/dotfiles#${host.hostName}";
clean = "nix-collect-garbage -d"; clean = "nix-collect-garbage -d";
}; };
sessionVariables = {
XDG_CONFIG_HOME = "$HOME/.config";
};
}; };
}; };

Binary file not shown.