core/nodes/1_lib/tests/modules/doRename-condition-enable.nix
2024-05-21 23:53:33 -04:00

11 lines
196 B
Nix

{ config, lib, ... }:
{
config = {
services.foo.enable = true;
services.foo.bar = "baz";
result =
assert config.services.foos == { "" = { bar = "baz"; }; };
true;
};
}