xfce.xfce4-settings: add withXrandr option

This commit is contained in:
Kamil Monicz
2025-10-02 13:29:45 +02:00
parent dee34fdbb4
commit 103d641f51

View File

@@ -13,6 +13,7 @@
libxfce4ui,
libxfce4util,
libxklavier,
withXrandr ? true,
upower,
# Disabled by default on upstream and actually causes issues:
# https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/222
@@ -57,6 +58,7 @@ mkXfceDerivation {
configureFlags = [
"--enable-pluggable-dialogs"
"--enable-sound-settings"
(lib.enableFeature withXrandr "xrandr")
]
++ lib.optionals withUpower [ "--enable-upower-glib" ]
++ lib.optionals withColord [ "--enable-colord" ];