mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
23 lines
504 B
Nix
23 lines
504 B
Nix
{
|
|
programs.git = {
|
|
enable = true;
|
|
signing.signer = "path-to-gpg";
|
|
difftastic = {
|
|
enable = true;
|
|
enableAsDifftool = true;
|
|
options = {
|
|
background = "dark";
|
|
color = "always";
|
|
context = 5;
|
|
display = "inline";
|
|
tab-width = 8;
|
|
sort-paths = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/git/config
|
|
assertFileContent home-files/.config/git/config ${./git-difftastic-expected.conf}
|
|
'';
|
|
}
|