flake: extend lib globally in hm and nix modules

main
Zynh Ludwig 2024-07-24 00:16:52 -07:00
parent 3fe55b566a
commit f2699971d4
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ rec {
name = hostname;
value = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
specialArgs = { inherit inputs lib; };
modules = [
../hosts/${hostname}/hardware-configuration.nix
../hosts/${hostname}/configuration.nix
@ -36,7 +36,7 @@ rec {
name = "${user}${hostStr}";
value = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."${system}";
extraSpecialArgs = { inherit inputs; };
extraSpecialArgs = { inherit inputs lib; };
modules = [
../hosts/${configHost}/home.nix