feat(inventory/modules): allow inline modules
This commit is contained in:
@@ -103,7 +103,7 @@ in
|
||||
default = options;
|
||||
};
|
||||
modules = lib.mkOption {
|
||||
type = types.attrsOf types.path;
|
||||
type = types.attrsOf (types.either types.path types.deferredModule);
|
||||
default = { };
|
||||
defaultText = "clanModules of clan-core";
|
||||
description = ''
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
---
|
||||
features = [ "inventory" ]
|
||||
---
|
||||
Description
|
||||
@@ -1,6 +0,0 @@
|
||||
{ ... }:
|
||||
{
|
||||
_class = "clan";
|
||||
perInstance = { };
|
||||
perService = { };
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
let
|
||||
inventory = (
|
||||
import ../build-inventory {
|
||||
|
||||
inherit lib clan-core;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user