Skip to content

Commit

Permalink
nixos-modules/host: configure qemu-bridge-helper ourselves only in
Browse files Browse the repository at this point in the history
absence of libvirtd

Fixes Github issue #46
  • Loading branch information
astro committed Jun 21, 2022
1 parent b1f5f84 commit e3df469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos-modules/host.nix
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ in

# This creates tap interfaces and attaches them to a bridge for
# qemu regardless if it is run as root or not.
security.wrappers.qemu-bridge-helper = {
security.wrappers.qemu-bridge-helper = lib.mkIf (!config.virtualisation.libvirtd.enable) {
source = "${pkgs.qemu}/libexec/qemu-bridge-helper";
owner = "root";
group = "root";
Expand Down

0 comments on commit e3df469

Please sign in to comment.