{inputs, ...}: {
  perSystem = {
    config,
    system,
    ...
  }: {
    imports = [
      {_module.args = {pkgs = config.legacyPackages;};}
    ];

    legacyPackages = import inputs.nixpkgs {
      inherit system;
      config.allowUnfree = true;
      overlays = [];
    };
  };
}
