From 747aae77748391e9187f4322e0bd31a39363655d Mon Sep 17 00:00:00 2001 From: xeals Date: Thu, 4 Jan 2024 15:16:49 +1100 Subject: [PATCH] flake: remove lib inherit --- flake.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index ab05674..bee839f 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; };