about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/git/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/git/default.nix b/home/git/default.nix
index 96affa7..3e0ea08 100644
--- a/home/git/default.nix
+++ b/home/git/default.nix
@@ -26,6 +26,10 @@ in
         core.whitespace = "trailing-space,space-before-tab";
         color.ui = "true";
 
+        diff = {
+          age.textconv = "${pkgs.age}/bin/age --identity ${config.home.homeDirectory}/.age/key.txt --decrypt";
+        };
+
         gpg = {
           format = "ssh";
           ssh.allowedSignersFile = "~/.ssh/allowed_signers";