forked from M-Labs/it-infra
nixops: enable libvirt bridge on hera
This commit is contained in:
parent
38b83ee8d9
commit
427b0def7f
|
@ -27,4 +27,14 @@
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
virtualisation.libvirtd.allowedBridges = [ "virbr0" "br0" ];
|
||||||
|
networking.bridges = {
|
||||||
|
br0 = {
|
||||||
|
interfaces = [ "eno1" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
networking.networkmanager.enable = false;
|
||||||
|
networking.useDHCP = false;
|
||||||
|
networking.interfaces.br0.useDHCP = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue