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;