{ configuration, system, sources ? import ../npins, }: let eval = import "${sources.nixpkgs}/nixos/lib/eval-config.nix" { inherit system; specialArgs = { inherit sources; }; modules = [ configuration ]; }; toplevel = { inherit (eval) pkgs config options; system = eval.config.system.build.toplevel; inherit (eval.config.system.build) vm vmWithBootLoader; } .config.system.build.toplevel; in { drv_path = toplevel.drvPath; out_path = toplevel; }