Hi,
There is a setup for running DeepStream SDK:
DS app running on SD, not running on eMMC - Part II - #5 by DaneLLL
If you don’t need the packages, you can install only system image and then remove
$ sudo apt remove --purge thunderbird* libreoffice* chromium*