nixos/libvirtd: install /etc/ethertypes

Fix #58200
This commit is contained in:
c0bw3b 2019-11-11 11:42:16 +01:00
parent e994fdcac0
commit 8d3ef32135

View file

@ -146,7 +146,8 @@ in {
# this file is expected in /etc/qemu and not sysconfdir (/var/lib)
etc."qemu/bridge.conf".text = lib.concatMapStringsSep "\n" (e:
"allow ${e}") cfg.allowedBridges;
systemPackages = with pkgs; [ libvirt libressl.nc cfg.qemuPackage ];
systemPackages = with pkgs; [ libvirt libressl.nc iptables cfg.qemuPackage ];
etc.ethertypes.source = "${iptables}/etc/ethertypes";
};
boot.kernelModules = [ "tun" ];