services: allow inline modules

This commit is contained in:
Johannes Kirschbauer
2025-10-23 18:26:57 +02:00
parent ae5efd9e2f
commit f50475fcfd
3 changed files with 33 additions and 9 deletions

View File

@@ -73,15 +73,8 @@ in
}
```
'';
apply = value: if lib.isString value then value else builtins.seq (builtins.toJSON value) value;
default = [ ];
type = types.listOf (
types.oneOf [
types.str
types.path
(types.attrsOf types.anything)
]
);
type = types.listOf types.deferredModule;
};
};
}