nixos/libvirtd: use /etc/ethertypes from iptables package

This commit is contained in:
misuzu 2021-09-15 08:57:19 +03:00
parent 12a9f1e625
commit a15070a52e

View file

@ -167,7 +167,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.ebtables}/etc/ethertypes";
etc.ethertypes.source = "${pkgs.iptables}/etc/ethertypes";
};
boot.kernelModules = [ "tun" ];