nixos/ddccontrol: Ensure that i2c_dev module is loaded
This commit is contained in:
parent
84b9af46cf
commit
d9b8919e34
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue