nixpkgs/lib/tests/modules/doRename-condition-enable.nix
2024-07-26 11:18:09 +02:00

11 lines
191 B
Nix

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