Merge pull request 'modules: add explicit class constraints' (#4303) from module-classes into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4303
This commit is contained in:
hsjobeki
2025-07-11 12:51:29 +00:00
2 changed files with 2 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ in
type = attrsWith {
placeholder = "mappedServiceName";
elemType = submoduleWith {
class = "clan.service";
modules = [
(
{ name, ... }:

View File

@@ -122,6 +122,7 @@ in
evalServices =
{ modules, prefix }:
lib.evalModules {
class = "clan";
specialArgs = {
inherit clanLib;
_ctx = prefix;