I have installed prepared nVidia sd card image. this image takes about 1GB of 4GB RAM. Is it possible to customize this OS to occupy less RAM?
You can save several hundred MB by switching to LXDE desktop, which is what the Nano 2GB uses by default. This is the procedure to install it:
sudo apt-get install lxde compton
/etc/xdg/autostart/lxde-compton.desktopwith following lines :
[Desktop Entry] Type=Application Name=Compton (X Compositor) GenericName=X compositor Comment=A X compositor TryExec=compton Exec=compton --backend glx -b OnlyShowIn=LXDE
Or if you are running headlessly and not using desktop at all, disable it with:
sudo systemctl set-default multi-user.target
And then reboot.