astro / microvm.nix

NixOS MicroVMs
https://astro.github.io/microvm.nix/
MIT License
1.24k stars 93 forks source link

networking/tap: make tap interfaces optional #251

Closed MarcelCoding closed 2 months ago

astro commented 2 months ago

The less-code alternative would be defining:

systemd.services."microvm-tap-interfaces@%i.service".enable = false;
astro commented 2 months ago

Btw, if the systemd services are in your way, you don't have to use nixosModules.host. You could build ...config.microvm.declaredRunner and just run that result/bin/microvm-run in your environment.