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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
239 B
Nix
Raw Permalink Normal View History

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