This commit is contained in:
dingfeng.wong
2025-07-18 14:18:35 +08:00
parent bfe4a1cbae
commit c1a481a269
+19
View File
@@ -157,6 +157,15 @@
mesa
libGL
dbus
# Lightweight alternatives for X11 forwarding
firefox # Often faster than Chromium over X11
qutebrowser # Keyboard-driven lightweight browser
# X11 performance tools
xorg.xset
xorg.xdpyinfo
xorg.xwininfo
];
# Enable X11 forwarding support
@@ -173,4 +182,14 @@
];
fontconfig.enable = true;
};
# X11 performance optimizations
environment.variables = {
# Disable some heavy X11 features for better performance over SSH
"_JAVA_AWT_WM_NONREPARENTING" = "1";
# Optimize Qt applications for X11 forwarding
"QT_X11_NO_MITSHM" = "1";
# Disable some graphics acceleration that doesn't work well over SSH
"LIBGL_ALWAYS_INDIRECT" = "1";
};
}