{ inputs.nixpkgs = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "master"; }; description = "A collections of derivations for coreboot and payloads"; outputs = { self, nixpkgs }: { packages.x86_64-linux = let pkgs = import nixpkgs { system = "x86_64-linux"; overlays = [ (nixpkgs + "nixos/modules/misc/nixpkgs.nix") (import ./pkgs/overlay.nix) ]; }; inherit (pkgs) lib; makeDevice = configFile: with lib.evalModules { modules = [ ./modules configFile ]; }; config.coreboot.rom; in { inherit (pkgs) coreboot-payload-grub2 coreboot-payload-tianocore coreboot; milan-x1c = makeDevice ./configs/milan-x1c.nix; }; }; }