Combine both flours in the bowl of a stand mixer fitted with the paddle attachment or mix together the flours on a work surface and make a well in the center. On medium speed, or with your fingers, add the egg yolks, oil, and water, adding them one ingredient at a time and mixing just until the dough come together, 2 to 3 minutes. If necessary, add a little more water, 1 tablespoon at a time, for the dough to come together.
Turn the dough out onto a lightly floured work surface and knead it until it feels silky and smooth, about 5 minutes, kneading in a little tipo 00 flour if necessary to keep the dough from sticking. The dough is ready if when you stretch it with your hands, it gently pulls back into place.
Shape the dough into a ball, then flatten the ball into a disk. Cover the dough and set it aside for at least 30 minutes or wrap it in plastic wrap and refrigerate it for up to 3 days. You can also freeze the dough for up to 3 months. (Thaw the dough overnight in the refrigerator before using it. Alternatively, thaw it quickly in a microwave oven on 50 percent power in 5-second increments, just until cool to the touch.)
To roll out the dough, cut it into 4 equal pieces. If you have a very long work surface, you can cut the dough into fewer pieces. Let the pieces sit, covered, at room temperature for 10 minutes if chilled. The dough should be cool but not cold. Shape each piece into an oval wide enough to fit the width of your pasta roller. Lightly flour your work surface and set the pasta roller to its widest setting. Lightly flour 1 piece of dough, pass it through the roller, and then lightly dust the rolled dough with flour, brushing off the excess with your hands. Pass the dusted dough through the widest setting again. Set the roller to the next narrowest setting and pass the dough through, dusting again with flour and brushing off the excess. Pass once again through the roller. Fold the dough in half lengthwise over itself and cut about ¼ inch (6 mm) off both corners at the fold. This folding and cutting helps to create an evenly wide sheet of dough.
Continue passing the dough once or twice through each progressively narrower setting. For thicker pasta like corzetti, chitarra, pappardelle, fettuccine, and taggliatelle, you want to roll the dough about ⅛ inch (3 mm) thick—setting 2 or 3 on a KitchenAid attachment, or about as thick as a thick cotton bed sheet. For sheet pastas like lasagna and cannelloni, you want to roll it a little thinner, just under ⅛ inch (2 mm) thick, and for rotolo thinner still, about 1/16 inch (1.5 mm) thick—setting 4 or 5 on a KitchenAid attachment, or about as thick as a cotton bed sheet. For ravioli, you want to roll the pasta a little thinner, to about 1/32 inch (0.8 mm) thick or setting 6 or 7 on a KitchenAid; ravioli sheets should generally be thin enough to read a newspaper through. As you roll and each sheet gets longer and more delicate, drape the sheet over the backs of your hands to easily feed it through the roller. You should end up with a sheet 2 to 5 feet (61 cm to 1.5 m) long, 5 to 6 inches (13 to 15 cm) wide, and ⅛ to 1/32 inch (3 to 0.8 mm) thick, depending on your roller and the pasta you are making.
To cut the pasta sheet into the pasta shape for the dish you are making, lay it on a lightly floured work surface and use a cutting wheel or knife, or the cutter attachment on the pasta machine. If you want to hold the pasta after cutting it, dust it with flour, cover it, and refrigerate it for a few hours, or freeze it in a single layer, transfer the frozen pasta to a zipper-lock bag, and freeze it for up to 1 month. Take the pasta straight from the freezer to the boiling pasta water. That's what i usually do.