From 1d50d101680c2570a0bee6a488d3c1c13f9c4b8f Mon Sep 17 00:00:00 2001 From: Jimbo Date: Sat, 28 Sep 2024 03:32:06 -0400 Subject: [PATCH] Add trusted virtualized networks --- system/services/qemukvm.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/services/qemukvm.nix b/system/services/qemukvm.nix index 6456f18..a33ccb2 100644 --- a/system/services/qemukvm.nix +++ b/system/services/qemukvm.nix @@ -26,6 +26,12 @@ looking-glass-client ]; + # Needed to make NAT work + networking.firewall.trustedInterfaces = [ + virbr0 + virbr1 + ]; + # Allow Looking-Glass permissions systemd.tmpfiles.rules = [ "f /dev/shm/looking-glass 0660 jimbo libvirtd -"