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.
This commit is contained in:
Janne Heß 2021-05-30 11:55:19 +02:00
parent 0d698e6186
commit 2eeecef3fc
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -160,7 +160,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" ];