mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-16 05:51:08 +01:00
17 lines
336 B
Nix
17 lines
336 B
Nix
{
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "John Doe";
|
|
userEmail = "user@example.org";
|
|
|
|
lfs = {
|
|
enable = true;
|
|
skipSmudge = true;
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/git/config
|
|
assertFileContent home-files/.config/git/config ${./git-with-lfs-expected.conf}
|
|
'';
|
|
}
|