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