Sketch too big


when compiling code for a V6 from I received this error message

Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P"
Sketch uses 30750 bytes (100%) of program storage space. Maximum is 30720 bytes.text section exceeds available space in board
Global variables use 819 bytes (39%) of dynamic memory, leaving 1229 bytes for local variables. Maximum is 2048 bytes.
Sketch too big; see for tips on reducing it.
Error compiling for board Arduino Nano.

I thought I read this code would fit a V6 kit

option enabled in File -> Preferences.

Join to automatically receive all group messages.