9 cfg = config.services.ddccontrol;
16 services.ddccontrol = {
17 enable = lib.mkEnableOption "ddccontrol for controlling displays";
23 config = lib.mkIf cfg.enable {
24 # Load the i2c-dev module
25 boot.kernelModules = [ "i2c_dev" ];
27 # Give users access to the "gddccontrol" tool
28 environment.systemPackages = [
32 services.dbus.packages = [