3
0
Fork 0
forked from mirrors/nixpkgs

nixos/ddccontrol: Ensure that i2c_dev module is loaded

This commit is contained in:
Rodney Lorrimar 2021-10-20 19:26:28 +08:00
parent 84b9af46cf
commit d9b8919e34
No known key found for this signature in database
GPG key ID: D8B75C95FB4D1143

View file

@ -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