Enable git diff GPG encrypted files
This commit is contained in:
parent
f01166c03d
commit
69f40fc923
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue