diff --git a/hosts/chopper/virtualisation.nix b/hosts/chopper/virtualisation.nix index 7f28caf..237ccf0 100644 --- a/hosts/chopper/virtualisation.nix +++ b/hosts/chopper/virtualisation.nix @@ -1,8 +1,22 @@ { ... }: { virtualisation.libvirtd = { enable = true; + allowedBridges = [ + "virbr0" + ]; }; users.users.mhelton.extraGroups = [ "libvirtd" ]; + networking = { + interfaces.enp5s0.useDHCP = false; + bridges = { + virbr0 = { + interfaces = [ + "enp5s0" + ]; + }; + }; + }; + }