git: support not configuring signing.format (#6478)
This commit is contained in:
parent
30b9cd6f1a
commit
5c5697b82a
9 changed files with 52 additions and 47 deletions
16
tests/modules/programs/git/git-without-signing.nix
Normal file
16
tests/modules/programs/git/git-without-signing.nix
Normal 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
|
||||
}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue