1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/git/git-with-lfs.nix
Austin Horstman a709427248 git: aliases / user options -> settings
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00

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