NANORC

nano’s system config file is located at /etc/.nanorc. You can override these settings with a user specific config file at ~/.nanorc.