29c7665003
This is to support single-to-multi service migrations, so that the `to` (e.g. `foos.""`) isn't defined unconditionally. See test cases.
9 lines
171 B
Nix
9 lines
171 B
Nix
{ config, lib, options, ... }:
|
|
{
|
|
config = {
|
|
result =
|
|
assert config.services.foos == { };
|
|
assert ! options.services.foo.bar.isDefined;
|
|
true;
|
|
};
|
|
}
|