mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
21 lines
384 B
Nix
21 lines
384 B
Nix
{
|
|
programs.git = {
|
|
enable = true;
|
|
settings = {
|
|
user = {
|
|
name = "John Doe";
|
|
email = "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}
|
|
'';
|
|
}
|