{
  lib,
  system,
  overlays ? [],
  sysLib,
  config,
}: let
  additionalPackages = (import ./pkgs) {inherit config sysLib;};
  complete_overlays = overlays ++ additionalPackages;
in {
  # TODO: inheriting system here is discouraged, localSystem or hostSystem should be inspected
  inherit system;
  overlays = complete_overlays;
  config = {
    # TODO: this fails because of the root tempsize, which should be increased
    # contentAddressedByDefault = true;

    # allowUnfreePredicate = pkg:
    #   builtins.elem (lib.getName pkg) [
    #     "steam"
    #     "steam-original"
    #     "steam-runtime"
    #     "steam-run"
    #   ];
  };
}