refactor: do not depend on inputs for modules

This commit is contained in:
Youwen Wu 2024-12-25 22:33:04 -08:00
parent dbc5fbd875
commit 8424b025f6
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
11 changed files with 87 additions and 39 deletions

View file

@ -1,5 +1,6 @@
{
inputs,
liminalHomeManagerModules,
liminalSystemModules,
config,
lib,
...
@ -9,7 +10,7 @@ let
in
{
imports = [
inputs.home-manager.nixosModules.home-manager
liminalSystemModules.home-manager.nixosModules.home-manager
];
options.liminalOS.integrateHomeManager = lib.mkOption {
@ -24,6 +25,6 @@ in
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "backup";
extraSpecialArgs = { inherit inputs; };
extraSpecialArgs = { inherit liminalHomeManagerModules; };
};
}