nixops: fix spice-client-glib-usb-acl-helper

This commit is contained in:
Sebastien Bourdeauducq 2022-01-03 17:24:34 +08:00
parent 910506d3e4
commit e01a0c6802
1 changed files with 7 additions and 2 deletions

View File

@ -65,8 +65,13 @@ in
programs.wireshark.enable = true;
programs.wireshark.package = pkgs.wireshark;
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemuOvmf = true;
security.wrappers.spice-client-glib-usb-acl-helper.source = "${pkgs.spice-gtk}/bin/spice-client-glib-usb-acl-helper";
virtualisation.libvirtd.qemu.ovmf.enable = true;
security.wrappers.spice-client-glib-usb-acl-helper = {
source = "${pkgs.spice-gtk}/bin/spice-client-glib-usb-acl-helper";
owner = "root";
group = "root";
setuid = true;
};
services.openssh.enable = true;
services.openssh.forwardX11 = true;