Your question is not very clear...
The
de0-nano user guide (
https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/ug/de0_nano_user_manual_v1.9.pdf) explains how to configure the configuration EPCS (FLASH) by use of a '.jic' file. See page 11.
However, I suspect you wish to access the FLASH from software running on a Nios. In which case I suggest you look at the 'DE0_Nano_QSYS_DEMO' that comes with the board. This example shows how to instantiate the EPCS (FLASH) interface in QSYS. It also includes sample C code to run on the hardware and includes some, albeit basic, functions to report the size of the FLASH.
The EPCS is mapped into the Nios' address space. So, you can access it using the standard IOWR & IORD built in Nios commands.
Cheers,
Alex