fixup: address @jtojnar's review comments
This commit is contained in:
parent
e2fd022d63
commit
ad7b27b4c8
|
@ -13,8 +13,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.virtualisation.spiceUSBRedirection.enable {
|
config = lib.mkIf config.virtualisation.spiceUSBRedirection.enable {
|
||||||
environment.systemPackages = [ pkgs.spice_gtk ];
|
environment.systemPackages = [ pkgs.spice-gtk ]; # For polkit actions
|
||||||
security.wrappers.spice-client-glib-usb-acl-helper.source = "${pkgs.spice_gtk}/bin/spice-client-glib-usb-acl-helper";
|
security.wrappers.spice-client-glib-usb-acl-helper ={
|
||||||
|
source = "${pkgs.spice-gtk}/bin/spice-client-glib-usb-acl-helper";
|
||||||
|
capabilities = "cap_fowner+ep";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta.maintainers = [ lib.maintainers.lheckemann ];
|
meta.maintainers = [ lib.maintainers.lheckemann ];
|
||||||
|
|
Loading…
Reference in a new issue