diff options
author | Janne Heß <janne@hess.ooo> | 2021-05-30 11:55:19 +0200 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2021-05-30 11:55:19 +0200 |
commit | 2eeecef3fc70e35b2f4c6d8424e4c726c140e330 (patch) | |
tree | 452b74e794dee039bbc5dc0702bc4c5d6c72383d /nixos/modules/virtualisation | |
parent | 0d698e61863a9920fa92eb5fe6fa10cab4e415e0 (diff) |
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.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/libvirtd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/libvirtd.nix b/nixos/modules/virtualisation/libvirtd.nix index d12169787c5ad..084ba0634797e 100644 --- a/nixos/modules/virtualisation/libvirtd.nix +++ b/nixos/modules/virtualisation/libvirtd.nix @@ -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" ]; |