Preselect Power Mode

We are generating a common rootfs for Xavier NX, Orin Nano and Orin NX at the same time.
Is it possible to preset the power mode set by nvpmodel before flashing the board on a per-board-type base?

So for example use mode 1 for xavier and mode 2 for orin nano?
The only idea I’d currently have is to check /etc/nv_boot_control.conf for the current board and then use a service to set my desired power mode. That seems a bit more complicated than it should be.

Please refer to the following nvpmodel configuration for different platform first.

Xavier NX:
Orin NX 16GB:
Orin NX 8GB:
Orin Nano 8GB:
Orin Nano 4GB:

Just modify the last line PM_CONFIG DEFAULT to the index of the power mode you want to configure.