about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-05 15:50:37 -0800
committerFranck Cuny <franck@fcuny.net>2023-03-10 18:18:14 -0800
commit8e27f33ce0e6285e50208b99b0a44dbbc1595afe (patch)
tree6e1bc5fb54c10279757a51a56060443ef254a2c8 /home
parentfix(home/wm): `programs.mako' has been renamed to `services.mako' (diff)
downloadworld-8e27f33ce0e6285e50208b99b0a44dbbc1595afe.tar.gz
home/git: diff the content for age encrypted files
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";