1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-16 05:51:08 +01:00
home-manager/tests/modules/programs/git/git-with-lfs.nix
Austin Horstman 4fef8e73a6 tests/git: add git-lfs test
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00

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}
'';
}