Setup vm-matrix better
This commit is contained in:
@@ -14,10 +14,7 @@
|
||||
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
allowedBridges = [
|
||||
"virbr0"
|
||||
"br0"
|
||||
];
|
||||
allowedBridges = [ "virbr0" ];
|
||||
onBoot = "ignore"; # only restart VMs labeled 'autostart'
|
||||
qemu.ovmf.enable = true;
|
||||
};
|
||||
@@ -35,9 +32,6 @@
|
||||
address = " 10.42.1.1";
|
||||
interface = "enp38s0";
|
||||
};
|
||||
bridges = {
|
||||
br0.interfaces = [ "enp39s0" ];
|
||||
};
|
||||
interfaces = {
|
||||
enp38s0 = {
|
||||
ipv4.addresses = [
|
||||
@@ -47,14 +41,6 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
br0 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "10.42.90.1";
|
||||
prefixLength = 16;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
nameservers = [ "10.42.1.5" ];
|
||||
firewall.checkReversePath = lib.mkForce false;
|
||||
|
||||
Reference in New Issue
Block a user