From 103d641f51c5ab7d254f447c8ca5bd1bb4d6e1a1 Mon Sep 17 00:00:00 2001 From: Kamil Monicz Date: Thu, 2 Oct 2025 13:29:45 +0200 Subject: [PATCH] xfce.xfce4-settings: add withXrandr option --- pkgs/desktops/xfce/core/xfce4-settings/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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" ];