Teach git diff about sops files

This commit is contained in:
Gene Liverman 2024-08-27 11:26:29 -04:00
parent 6803b2cc53
commit 62130cf13e
2 changed files with 5 additions and 0 deletions

View file

@ -97,6 +97,9 @@ in {
git = {
enable = true;
diff-so-fancy.enable = true;
extraConfig = {
diff.sopsdiffer.textconv = "sops --config /dev/null --decrypt";
};
ignores = [
"*~"
"*.swp"