mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 13:01:09 +01:00
18 lines
400 B
Nix
18 lines
400 B
Nix
{
|
|
programs.git = {
|
|
enable = true;
|
|
signing.signer = "path-to-gpg";
|
|
difftastic = {
|
|
enable = true;
|
|
enableAsDifftool = true;
|
|
background = "dark";
|
|
color = "always";
|
|
display = "inline";
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/git/config
|
|
assertFileContent home-files/.config/git/config ${./git-difftastic-expected.conf}
|
|
'';
|
|
}
|