nixos/ddccontrol: Ensure that i2c_dev module is loaded

This commit is contained in:
Rodney Lorrimar
2022-02-02 11:52:57 +10:00
parent 84b9af46cf
commit d9b8919e34
@@ -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