nixos/libvirtd: Take ethertypes from iptables-nftables-compat

iptables is currently defined in `all-packages.nix` to be
iptables-compat. That package does however not contain `ethertypes`.
Only `iptables-nftables-compat` contains this file so the symlink
dangles.

(cherry picked from commit 2eeecef3fc70e35b2f4c6d8424e4c726c140e330)
This commit is contained in:
Janne Heß 2021-05-30 11:55:19 +02:00 committed by github-actions[bot]
parent 0c39e877ec
commit c072a18797

View File

@ -159,7 +159,7 @@ in {
etc."qemu/bridge.conf".text = lib.concatMapStringsSep "\n" (e:
"allow ${e}") cfg.allowedBridges;
systemPackages = with pkgs; [ libressl.nc iptables cfg.package cfg.qemuPackage ];
etc.ethertypes.source = "${pkgs.iptables}/etc/ethertypes";
etc.ethertypes.source = "${pkgs.iptables-nftables-compat}/etc/ethertypes";
};
boot.kernelModules = [ "tun" ];