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