inventory: unify modules
This commit is contained in:
@@ -7,10 +7,10 @@ let
|
||||
in
|
||||
{
|
||||
inherit (services) mapInstances;
|
||||
interface = {
|
||||
_file = "clanLib.inventory.interface";
|
||||
inventoryModule = {
|
||||
_file = "clanLib.inventory.module";
|
||||
imports = [
|
||||
../inventoryClass/interface.nix
|
||||
../inventoryClass/inventory.nix
|
||||
];
|
||||
_module.args = { inherit clanLib; };
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ let
|
||||
(evalModules {
|
||||
# Static modules
|
||||
modules = [
|
||||
clanLib.inventory.interface
|
||||
clanLib.inventory.inventoryModule
|
||||
{
|
||||
_file = "test file";
|
||||
tags.all = [ ];
|
||||
|
||||
Reference in New Issue
Block a user