Arduino Nano as USB HID

Not possible with a Nano as it uses the special purpose FTDI chip to perform the USB serial interface, not a programmable AVR chip such as the 16U2 chip the standard Uno board uses.