From 8d3ef32135e49b1a8dbcef8f1e0dc82c717d2c3a Mon Sep 17 00:00:00 2001 From: c0bw3b Date: Mon, 11 Nov 2019 11:42:16 +0100 Subject: [PATCH] nixos/libvirtd: install /etc/ethertypes Fix #58200 --- nixos/modules/virtualisation/libvirtd.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/libvirtd.nix b/nixos/modules/virtualisation/libvirtd.nix index 16b79d869193..edde7dde39ed 100644 --- a/nixos/modules/virtualisation/libvirtd.nix +++ b/nixos/modules/virtualisation/libvirtd.nix @@ -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" ];