mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop/General] add x11 fallback to SDL + set audiodriver hint
Tell SDL to use PipeWire first if it can
This commit is contained in:
parent
81aa383877
commit
9fdb2e2f4b
1 changed files with 3 additions and 1 deletions
|
|
@ -159,7 +159,9 @@ in {
|
|||
];
|
||||
|
||||
environment.variables = {
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
SDL_VIDEODRIVER = "wayland,x11";
|
||||
SDL_AUDIODRIVER = "pipewire,pulseaudio";
|
||||
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
MOZ_DBUS_REMOTE = "1"; # For shared clipboard with Xwayland apps
|
||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue