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

16 lines
263 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ config, lib, ... }:
{
config = {
services.foos."".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
assert config.services.foo.bar == "baz";
true;
};
}