Thanks for getting back to me.
What I initially tried to achieve was using host specific mounts through home-manager. Something that I never managed to do. More about this here. Maybe I could achieve the same, using systemd.mounts
(not going through home-manager).
I was using NixOS. However, after the debacle around NixOS and the involvement with the Military Industrial Complex (MIC), I decided to end my own NixOS endeavour in support of the open letter. So, I uninstalled NixOS and went back to using my previous Linux distribution.