flake: remove lib inherit

This commit is contained in:
xeals 2024-01-04 15:16:49 +11:00
parent 95d04865b6
commit 747aae7774
Signed by: xeals
SSH Key Fingerprint: SHA256:pRv+8swQDA+/LuZ7NHj9m006BbKexlNK62OUA01ZZBc

View File

@ -5,9 +5,6 @@
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
let
inherit (nixpkgs) lib;
in
flake-utils.lib.eachDefaultSystem
(system:
let
@ -46,9 +43,9 @@
};
})
// {
nixosModules = lib.mapAttrs (_: path: import path) (import ./modules) // {
nixosModules = nixpkgs.lib.mapAttrs (_: path: import path) (import ./modules) // {
default = {
imports = lib.attrValues self.nixosModules;
imports = nixpkgs.lib.attrValues self.nixosModules;
};
};