Deploy upgrades plugin contracts using type 2 transactions

I wanted to understand how can i use hardhat upgrades plugging to deploy contracts using type2 transactions. Not sure if there should be on upgrades plugging config or hardhat configuration.

EIP-1559 transactions should be used automatically on networks that support it, or you can enable it by specifying maxFeePerGas and maxPriorityFeePerGas for your signer. See https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/85#issuecomment-1028435049 for an example.

Note that if you set gasPrice instead of maxFeePerGas and maxPriorityFeePerGas, then legacy transactions will be used.