mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
27 lines
528 B
Nix
27 lines
528 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/.config/jj/config.toml
|
|
assertFileContent \
|
|
home-files/.config/jj/config.toml \
|
|
${
|
|
builtins.toFile "expected.toml" ''
|
|
[user]
|
|
email = "jdoe@example.org"
|
|
name = "John Doe"
|
|
''
|
|
}
|
|
'';
|
|
}
|