core/lib/tests/modules/doRename-condition-enable.nix

16 lines
244 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ config, lib, ... }:
{
config = {
services.foo.enable = true;
services.foo.bar = "baz";
result =
2024-06-30 08:16:52 +00:00
assert
config.services.foos == {
"" = {
bar = "baz";
};
};
2024-05-01 22:14:04 +00:00
true;
};
}