modules: move clan module to flake.modules.clan.default

This commit is contained in:
Johannes Kirschbauer
2025-06-26 17:06:46 +02:00
parent cfce6d9845
commit 0271af0dcb
8 changed files with 20 additions and 17 deletions

View File

@@ -1,4 +1,10 @@
{ clan-core }:
{
_class = "clan";
_module.args = {
inherit clan-core;
inherit (clan-core) clanLib;
};
imports = [
./module.nix
./interface.nix

View File

@@ -0,0 +1,4 @@
{ self, lib, ... }:
{
flake.modules.clan.default = lib.modules.importApply ./default.nix { clan-core = self; };
}