mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-19 21:49:52 -07:00
refactor: do not depend on inputs for modules
This commit is contained in:
parent
dbc5fbd875
commit
8424b025f6
11 changed files with 87 additions and 39 deletions
|
@ -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; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue