Enable git diff GPG encrypted files

This commit is contained in:
Evie Litherland-Smith 2024-03-11 11:23:18 +00:00
parent f01166c03d
commit 69f40fc923

View file

@ -18,6 +18,10 @@
syntax-theme = with config.programs; lib.mkIf bat.enable bat.config.theme;
};
};
attributes = [
"*.gpg filter=gpg diff=gpg"
"*.asc filter=gpg diff=gpg"
];
extraConfig = let
user = "pixelifytica";
in {
@ -26,7 +30,10 @@
pull.rebase = false;
init.defaultBranch = "main";
merge.conflictstyle = "diff3";
diff.colorMoved = "default";
diff = {
colorMoved = "default";
gpg.textconv = "gpg --no-tty --decrypt";
};
};
};
}