]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - .gitconfig
Refactor secrets handling
[perso/Immae/Config/Nix.git] / .gitconfig
index e503780e26666adcef0e04f841438e5c2b5e8526..7aa88705c591bb396d20e6f20c7fa21da0038ca4 100644 (file)
@@ -1,3 +1,9 @@
 ; git config --local include.path '../.gitconfig'
 [push]
   recurseSubmodules = on-demand
+; Find a way to include this file automatically?
+; git -C nixops/secrets config --local diff.gpgdiffer.textconv "gpg --quiet -d"
+[diff "gpgdiffer"]
+       textconv = "gpg --quiet -d"
+[diff "sopsdiffer"]
+       textconv = "sops -d"