From 7b92b0c9e7c1c342ff1346275041b40c8626b7cc Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Mon, 20 Sep 2021 11:41:21 +0200 Subject: [PATCH] virtualisation: Add evdev-proxy's udev rules --- modules/virtualisation/gaming.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/virtualisation/gaming.nix b/modules/virtualisation/gaming.nix index 676c7a8..7895a45 100644 --- a/modules/virtualisation/gaming.nix +++ b/modules/virtualisation/gaming.nix @@ -94,6 +94,8 @@ ln -Tfs /etc/libvirt/hooks /var/lib/libvirt/hooks ''; + services.udev.packages = with pkgs; [ evdev-proxy ]; + systemd = { services.libvirtd.path = with pkgs; [ vfio-isolate systemd bash ]; user.services.evdev-proxy = {