nixos/ddccontrol: Ensure that i2c_dev module is loaded
commitd9b8919e34e0460dd1a098b6cc033f34c6ab67e8
authorRodney Lorrimar <dev@rodney.id.au>
dateWed 20 Oct 2021, 19:26 (5 years ago)
parent84b9af4
nixos/modules/services/hardware/ddccontrol.nix+3
@@ -20,6 +20,9 @@ in
2020 ###### implementation
2121
2222 config = lib.mkIf cfg.enable {
23+ # Load the i2c-dev module
24+ boot.kernelModules = [ "i2c_dev" ];
25+
2326 # Give users access to the "gddccontrol" tool
2427 environment.systemPackages = [
2528 pkgs.ddccontrol