modules/nix/core/home-manager: import lib' in extraSpecialArgs

This commit is contained in:
Anthony Rodriguez 2025-01-17 12:02:49 +01:00
parent e09569b921
commit 0fe6f67b20
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -5,6 +5,7 @@
... ...
}: let }: let
inherit (config.local.systemVars) username; inherit (config.local.systemVars) username;
lib' = import ../../../shared/lib inputs.nixpkgs.lib;
in { in {
imports = [ imports = [
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
@ -16,7 +17,7 @@ in {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = {inherit inputs;}; extraSpecialArgs = {inherit inputs lib';};
sharedModules = [../../hm]; sharedModules = [../../hm];
}; };