flake: extend lib globally in hm and nix modules
This commit is contained in:
parent
3fe55b566a
commit
f2699971d4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue