From 60206e95e19ef68ed93cad333db4159b7fae0009 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Fri, 21 Apr 2023 10:15:02 -0400 Subject: [PATCH] lib.attrsets. -> lib. --- modules/nix.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/nix.nix b/modules/nix.nix index 0a95beb..13bf61a 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -2,7 +2,6 @@ inputs: { lib, pkgs, self, - settings, ... }: let combined_flakes = @@ -25,7 +24,7 @@ in { #create registry from input flakes nix.registry = lib.mapAttrs (_: value: {flake = value;}) combined_flakes; #add all inputs to etc - environment.etc = lib.mapAttrs' (name: value: lib.attrsets.nameValuePair "/nixpath/${name}" {source = value;}) combined_flakes; + environment.etc = lib.mapAttrs' (name: value: lib.nameValuePair "/nixpath/${name}" {source = value;}) combined_flakes; #source the etc paths to nixPath nix.nixPath = lib.mapAttrsToList (name: _: name + "=" + "/etc/nixpath/${name}") combined_flakes;