diff --git a/flake.nix b/flake.nix index d0c3d496..1c92afe0 100644 --- a/flake.nix +++ b/flake.nix @@ -28,7 +28,7 @@ ); # overlays here - overlays = import ./overlays { inherit nixpkgs inputs; }; + overlays = import ./overlays { inherit inputs outputs; }; # modules :D nixosModules = import ./modules; diff --git a/overlays/default.nix b/overlays/default.nix index d6fd6ec3..5097e2d3 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,4 +1,4 @@ -{ pkgs, inputs, ...}: +{ inputs, ...}: { # This one brings our custom packages from the 'pkgs' directory additions = final: _prev: import ../packages { pkgs = final; }; @@ -21,7 +21,7 @@ }; dwm = prev.dwm.overrideAttrs (old: { src = ../config/dwm; - nativeBuildInputs = with inputs.nixpkgs; [ + nativeBuildInputs = with pkgs; [ xorg.libX11.dev xorg.libXft imlib2 @@ -30,7 +30,7 @@ }); dwmblocks = prev.dwm.overrideAttrs (old: { src = ../config/dwmblocks; - nativeBuildInputs = with inputs.nixpkgs; [ + nativeBuildInputs = with pkgs; [ xorg.libX11.dev xorg.libXft imlib2