refactor(modules/admin): consistent clan.module registering

This commit is contained in:
Johannes Kirschbauer
2025-05-14 12:53:35 +02:00
parent 8e1de6b75e
commit aea396c8cd
2 changed files with 8 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
{ lib, ... }:
{
clan.modules = {
admin = lib.modules.importApply ./default.nix { };
};
}

View File

@@ -1,11 +1,8 @@
{ lib, ... }: { ... }:
{ {
imports = [ imports = [
./admin/flake-module.nix
./hello-world/flake-module.nix ./hello-world/flake-module.nix
./wifi/flake-module.nix ./wifi/flake-module.nix
]; ];
clan.modules = {
admin = lib.modules.importApply ./admin/default.nix { };
};
} }