From 8e27f33ce0e6285e50208b99b0a44dbbc1595afe Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 5 Mar 2023 15:50:37 -0800 Subject: home/git: diff the content for age encrypted files --- home/git/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'home') 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"; -- cgit 1.4.1