summary refs log tree commit diff
path: root/nixos/modules/services/hardware/ddccontrol.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/hardware/ddccontrol.nix')
-rw-r--r--nixos/modules/services/hardware/ddccontrol.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/ddccontrol.nix b/nixos/modules/services/hardware/ddccontrol.nix
index 766bf12ee9f..f0b5a9c8196 100644
--- a/nixos/modules/services/hardware/ddccontrol.nix
+++ b/nixos/modules/services/hardware/ddccontrol.nix
@@ -20,6 +20,9 @@ in
   ###### implementation
 
   config = lib.mkIf cfg.enable {
+    # Load the i2c-dev module
+    boot.kernelModules = [ "i2c_dev" ];
+
     # Give users access to the "gddccontrol" tool
     environment.systemPackages = [
       pkgs.ddccontrol