Hi,
I am currently in the process of migrating my NAS to NixOS and want to test the configuration in advance using a VM, to make the transition as smooth as possible. For that, I used nix build .#nixosConfigurations.<hostname>.config.system.build.vm
and virtualisation.forwardPorts
, but now I want to port my Reverse Proxy configuration. And for that I think it would be beneficial to be able to access the vm under a separate IP address in my home network.
The only way I found to achieve this, is to build a VirtualBox image and then manually configure the bridging via the GUI. Additionally, building the vbox image takes quite long in comparison to the run script, because the image includes all packages.
I already tried virtualisation.interfaces
and virtualisation.vlans
but these seem to be for automated tests.
Thanks in advance!