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:
ThinkChaos
2023-04-26 15:03:06 -04:00
committed by GitHub
parent 6142193635
commit d82c9af817

View File

@@ -9,7 +9,7 @@ let
cfg = config.home-manager;
extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
extendedLib = import ../modules/lib/stdlib-extended.nix lib;
hmModule = types.submoduleWith {
description = "Home Manager module";