diff --git a/machines/levitation/passthrough.nix b/machines/levitation/passthrough.nix index 9ac4360..68a1617 100644 --- a/machines/levitation/passthrough.nix +++ b/machines/levitation/passthrough.nix @@ -32,7 +32,18 @@ in { }; systemd.tmpfiles.rules = [ "f /dev/shm/looking-glass 0660 nathan qemu-libvirtd -" ]; + + ## + ## Networking + ## # Setup bridge networking.bridges = { "qemu-br0" = { interfaces = [ "enp6s0" ]; }; }; - networking.interfaces."qemu-br0".useDHCP = true; + networking.interfaces.qemu-br0 = { + ipv4.addresses = [{ + address = "10.0.0.247"; + prefixLength = 21; + }]; + }; + networking.defaultGateway = "10.0.4.1"; + networking.nameservers = [ "10.0.0.10" ]; }