From d9b8919e34e0460dd1a098b6cc033f34c6ab67e8 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Wed, 20 Oct 2021 19:26:28 +0800 Subject: [PATCH] nixos/ddccontrol: Ensure that i2c_dev module is loaded --- nixos/modules/services/hardware/ddccontrol.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/hardware/ddccontrol.nix b/nixos/modules/services/hardware/ddccontrol.nix index 766bf12ee9f0..f0b5a9c81960 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