git: support not configuring signing.format (#6478)

This commit is contained in:
Austin Horstman 2025-02-17 03:00:03 -08:00 committed by GitHub
parent 30b9cd6f1a
commit 5c5697b82a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 52 additions and 47 deletions

View file

@ -0,0 +1,16 @@
{
programs.git = {
enable = true;
userName = "John Doe";
userEmail = "user@example.org";
};
home.stateVersion = "25.05";
nmt.script = ''
assertFileExists home-files/.config/git/config
assertFileContent home-files/.config/git/config ${
./git-without-signing.conf
}
'';
}