nixos: use lib
argument instead of pkgs.lib
(#3454)
This allows users to pass a lib with custom attributes and have those available to custom HM modules.
This commit is contained in:
parent
6142193635
commit
d82c9af817
|
@ -9,7 +9,7 @@ let
|
||||||
|
|
||||||
cfg = config.home-manager;
|
cfg = config.home-manager;
|
||||||
|
|
||||||
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
|
extendedLib = import ../modules/lib/stdlib-extended.nix lib;
|
||||||
|
|
||||||
hmModule = types.submoduleWith {
|
hmModule = types.submoduleWith {
|
||||||
description = "Home Manager module";
|
description = "Home Manager module";
|
||||||
|
|
Loading…
Reference in a new issue