build-clan: move clan attribute relates modules into subfolder
This commit is contained in:
9
lib/modules/clan/default.nix
Normal file
9
lib/modules/clan/default.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{clanLib}: {
|
||||||
|
_module.args = {
|
||||||
|
inherit clanLib;
|
||||||
|
};
|
||||||
|
imports = [
|
||||||
|
./module.nix
|
||||||
|
./interface.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -9,8 +9,7 @@
|
|||||||
{
|
{
|
||||||
flakePartsModule = {
|
flakePartsModule = {
|
||||||
imports = [
|
imports = [
|
||||||
(lib.modules.importApply ./clan/interface.nix { inherit clanLib; })
|
(lib.modules.importApply ./clan/default.nix { inherit clanLib; })
|
||||||
./clan/module.nix
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user