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/kraftkit/example-settings.nix
2025-10-27 09:13:26 -05:00

24 lines
518 B
Nix

{ config, ... }:
{
programs.kraftkit = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = {
no_check_updates = true;
collect_anonymous_telemetry = false;
log = {
level = "info";
timestamps = false;
type = "fancy";
};
};
};
nmt.script = ''
assertFileExists "home-files/.config/kraftkit/config.yaml"
assertFileContent \
"home-files/.config/kraftkit/config.yaml" \
${./example-config-expected.yaml}
'';
}