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:
6
clanServices/admin/flake-module.nix
Normal file
6
clanServices/admin/flake-module.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
clan.modules = {
|
||||
admin = lib.modules.importApply ./default.nix { };
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,9 +10,6 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
clan.inventory.modules = {
|
||||
wifi = module;
|
||||
};
|
||||
clan.modules = {
|
||||
wifi = module;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user