diff options
-rw-r--r-- | pkgs/desktops/xfce/core/xfce4-settings/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/desktops/xfce/core/xfce4-settings/default.nix b/pkgs/desktops/xfce/core/xfce4-settings/default.nix index 2979824f12b2b..05923da38aebf 100644 --- a/pkgs/desktops/xfce/core/xfce4-settings/default.nix +++ b/pkgs/desktops/xfce/core/xfce4-settings/default.nix @@ -9,8 +9,11 @@ , libxfce4util , libxklavier , upower +, withUpower ? true , xfconf , xf86inputlibinput +, colord +, withColord ? true }: mkXfceDerivation { @@ -29,15 +32,18 @@ mkXfceDerivation { libxfce4ui libxfce4util libxklavier - upower xf86inputlibinput xfconf - ]; + ] + ++ lib.optionals withUpower [ upower ] + ++ lib.optionals withColord [ colord ]; configureFlags = [ "--enable-pluggable-dialogs" "--enable-sound-settings" - ]; + ] + ++ lib.optionals withUpower [ "--enable-upower-glib" ] + ++ lib.optionals withColord [ "--enable-colord" ]; meta = with lib; { description = "Settings manager for Xfce"; |