summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2020-05-26 21:50:05 +0800
committerPeter Hoeg <peter@hoeg.com>2020-05-26 21:50:05 +0800
commit7517ecd7016cd451fe334718443387242d01642c (patch)
tree8392a7895310767a3e052ad621a60448aaaf0816 /pkgs/desktops
parent0f5ce2fac0c726036ca69a5524c59a49e2973dd4 (diff)
powerdevil: add DDC support
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/plasma-5/powerdevil.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/desktops/plasma-5/powerdevil.nix b/pkgs/desktops/plasma-5/powerdevil.nix
index 65fc5446c16eb..e53e986060f7d 100644
--- a/pkgs/desktops/plasma-5/powerdevil.nix
+++ b/pkgs/desktops/plasma-5/powerdevil.nix
@@ -3,7 +3,7 @@
   extra-cmake-modules, kdoctools,
   bluez-qt, kactivities, kauth, kconfig, kdbusaddons, kdelibs4support,
   kglobalaccel, ki18n, kidletime, kio, knotifyconfig, kwayland, libkscreen,
-  networkmanager-qt, plasma-workspace, qtx11extras, solid, udev
+  ddcutil, networkmanager-qt, plasma-workspace, qtx11extras, solid, udev
 }:
 
 mkDerivation {
@@ -13,5 +13,9 @@ mkDerivation {
     kconfig kdbusaddons knotifyconfig solid udev bluez-qt kactivities kauth
     kdelibs4support kglobalaccel ki18n kio kidletime kwayland libkscreen
     networkmanager-qt plasma-workspace qtx11extras
+    ddcutil
+  ];
+  cmakeFlags = [
+    "-DHAVE_DDCUTIL=On"
   ];
 }