xfce.xfce4-settings: add withXrandr option (#447971)

Changed files
+2
pkgs
desktops
xfce
core
xfce4-settings
+2
pkgs/desktops/xfce/core/xfce4-settings/default.nix
···
libxfce4ui,
libxfce4util,
libxklavier,
upower,
# Disabled by default on upstream and actually causes issues:
# https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/222
···
configureFlags = [
"--enable-pluggable-dialogs"
"--enable-sound-settings"
]
++ lib.optionals withUpower [ "--enable-upower-glib" ]
++ lib.optionals withColord [ "--enable-colord" ];
···
libxfce4ui,
libxfce4util,
libxklavier,
+
withXrandr ? true,
upower,
# Disabled by default on upstream and actually causes issues:
# https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/222
···
configureFlags = [
"--enable-pluggable-dialogs"
"--enable-sound-settings"
+
(lib.enableFeature withXrandr "xrandr")
]
++ lib.optionals withUpower [ "--enable-upower-glib" ]
++ lib.optionals withColord [ "--enable-colord" ];