diff --git a/flake/default.nix b/flake/default.nix index ff2832a..f3219e3 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -73,13 +73,15 @@ let systemIndependant = { lib = import ./lib.nix inputs; - overlays = import ./overlays.nix inputs; - nixosConfigurations = import ./nixos.nix inputs; }; in flake-parts.lib.mkFlake { inherit inputs; } { systems = mySystems; + imports = [ + ./overlays.nix + ]; + flake = (eachMySystem systemDependant) // systemIndependant; } diff --git a/flake/overlays.nix b/flake/overlays.nix index bb5e546..1a5e8ba 100644 --- a/flake/overlays.nix +++ b/flake/overlays.nix @@ -1,5 +1,4 @@ { self, ... }: - let default-overlays = import "${self}/overlays"; @@ -13,4 +12,6 @@ let }; }; in -default-overlays // additional-overlays +{ + flake.overlays = default-overlays // additional-overlays; +}