Merge pull request 'fix(wifi): register new modules in clan.modules NOT inventory.modules' (#3643) from hsjobeki/clan-core:fixes-module into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3643
This commit is contained in:
hsjobeki
2025-05-14 11:22:49 +00:00
3 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

@@ -10,9 +10,6 @@ let
};
in
{
clan.inventory.modules = {
wifi = module;
};
clan.modules = {
wifi = module;
};