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

10 lines
171 B
Nix
Raw Permalink Normal View History

{ config, lib, options, ... }:
{
config = {
result =
assert config.services.foos == { };
assert ! options.services.foo.bar.isDefined;
true;
};
}