diff --git a/pkgs/desktops/xfce/core/xfce4-settings/default.nix b/pkgs/desktops/xfce/core/xfce4-settings/default.nix index 71680b8beaad..46a1ac5cc5e3 100644 --- a/pkgs/desktops/xfce/core/xfce4-settings/default.nix +++ b/pkgs/desktops/xfce/core/xfce4-settings/default.nix @@ -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" ];