75fa0ae5af
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
27 lines
512 B
Nix
27 lines
512 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
programs.jujutsu = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { };
|
|
settings = {
|
|
user = {
|
|
name = "John Doe";
|
|
email = "jdoe@example.org";
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.jjconfig.toml
|
|
assertFileContent \
|
|
home-files/.jjconfig.toml \
|
|
${
|
|
builtins.toFile "expected.toml" ''
|
|
[user]
|
|
email = "jdoe@example.org"
|
|
name = "John Doe"
|
|
''
|
|
}
|
|
'';
|
|
}
|