Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
would hiding the Sidebar work for you? Open Nautilus click on the hamburger menu (3 parallel lines in the top bar of Nautilus) and uncheck Show Sidebar
I handle that (media is contained on a NAS on my network) in 20.04 and 22.04 LTS by mounting the share separately in fstab and showing the share on the desktop using the GNOME extension Desktop Icons (DING).
Nautilus
click on the hamburger menu (3 parallel lines in the top bar of Nautilus) and uncheckShow Sidebar
Desktop Icons (DING)
.