Merge pull request #73211 from c0bw3b/mod/libvirt

nixos/libvirtd: install /etc/ethertypes
This commit is contained in:
Franz Pletz 2019-11-13 14:14:19 +00:00 committed by GitHub
commit cebc13529a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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