diff --git a/modules/nix/link-inputs.nix b/modules/nix/link-inputs.nix index 91387177..8860904a 100644 --- a/modules/nix/link-inputs.nix +++ b/modules/nix/link-inputs.nix @@ -1,12 +1,14 @@ { lib, - inputs, + pureInputs, ... }: let # Taken from https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/master/lib/options.nix inherit (lib) filterAttrs mapAttrs'; - flakes = filterAttrs (name: value: (value ? outputs)) inputs; + flakes = filterAttrs ( + name: value: (value ? outputs) && (name != "self") && (name != "nixos-config") + ) pureInputs; nixRegistry = builtins.mapAttrs (name: v: { flake = v; }) flakes; in {