core/lib/tests/modules/doRename-condition-enable.nix
2024-05-01 18:26:04 -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;
};
}