diff --git a/users/simon/modules/games.nix b/users/simon/modules/games.nix index 8450eb8..b35e625 100644 --- a/users/simon/modules/games.nix +++ b/users/simon/modules/games.nix @@ -68,6 +68,11 @@ let --ro-bind /sys /sys # required for discovery ) + for hidraw in /dev/hidraw*; do + bubblewrap_args+=(--dev-bind $hidraw $hidraw) + done + + unset SDL_VIDEODRIVER QT_QPA_PLATFORM # games generally don’t support wayland export PATH="${pkgs.unstable.mangohud}/bin:$PATH"