mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-22 06:19:11 +00:00
wrapper-manager-fds/modules: set pkgs on integration modules modularly
Now we have consistent behavior on both manual evaluation and on the integration modules.
This commit is contained in:
parent
aa2de221a0
commit
8a4a331a8d
@ -6,12 +6,13 @@ let
|
||||
wrapperManagerModule = lib.types.submoduleWith {
|
||||
description = "wrapper-manager module";
|
||||
class = "wrapperManager";
|
||||
specialArgs = cfg.extraSpecialArgs // {
|
||||
inherit pkgs;
|
||||
modulesPath = builtins.toString ../wrapper-manager;
|
||||
};
|
||||
specialArgs = cfg.extraSpecialArgs;
|
||||
modules = [
|
||||
../wrapper-manager
|
||||
|
||||
({ lib, ... }: {
|
||||
config._module.args.pkgs = lib.mkDefault pkgs;
|
||||
})
|
||||
] ++ cfg.sharedModules;
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user