Merge pull request #73211 from c0bw3b/mod/libvirt
nixos/libvirtd: install /etc/ethertypes
This commit is contained in:
commit
cebc13529a
@ -146,7 +146,8 @@ in {
|
|||||||
# this file is expected in /etc/qemu and not sysconfdir (/var/lib)
|
# this file is expected in /etc/qemu and not sysconfdir (/var/lib)
|
||||||
etc."qemu/bridge.conf".text = lib.concatMapStringsSep "\n" (e:
|
etc."qemu/bridge.conf".text = lib.concatMapStringsSep "\n" (e:
|
||||||
"allow ${e}") cfg.allowedBridges;
|
"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" ];
|
boot.kernelModules = [ "tun" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user