Yeah basically take lowest ram RPi if you need GPIO for the sensors/actuators whatever hook it up via network to NUC or Minisforum.
If you don’t need GPIO just go with NUC/Minisforum.