mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2026-04-09 16:17:08 +00:00
use difftastic
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
5
files/lazygit/config.yaml
Normal file
5
files/lazygit/config.yaml
Normal 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
|
||||||
@@ -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.
Reference in New Issue
Block a user