15 lines
239 B
Nix
15 lines
239 B
Nix
{ config, ... }:
|
|
{
|
|
config = {
|
|
services.foo.enable = true;
|
|
services.foo.bar = "baz";
|
|
result =
|
|
assert
|
|
config.services.foos == {
|
|
"" = {
|
|
bar = "baz";
|
|
};
|
|
};
|
|
true;
|
|
};
|
|
}
|