diff --git a/users/simon/modules/games.nix b/users/simon/modules/games.nix index f56a218..1a5a305 100644 --- a/users/simon/modules/games.nix +++ b/users/simon/modules/games.nix @@ -38,8 +38,6 @@ let --ro-bind /tmp/.X11-unix /tmp/.X11-unix --ro-bind "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" --dev-bind /dev/dri /dev/dri - --ro-bind /sys/dev/char /sys/dev/char - --ro-bind-try /sys/devices/pci0000:00 /sys/devices/pci0000:00 # FIXME: hardcoded path for sayuri --ro-bind /run/opengl-driver /run/opengl-driver --ro-bind-try /run/opengl-driver-32 /run/opengl-driver-32 @@ -66,6 +64,7 @@ let # input --dev-bind /dev/input /dev/input --dev-bind-try /dev/uinput /dev/uinput + --ro-bind /sys /sys # required for discovery ) unset SDL_VIDEODRIVER QT_QPA_PLATFORM # games generally don’t support wayland