alien: fix ddc again
This commit is contained in:
parent
b45f2f6735
commit
03160b77ac
1 changed files with 6 additions and 1 deletions
|
|
@ -17,10 +17,15 @@
|
||||||
|
|
||||||
# enable ddcutil
|
# enable ddcutil
|
||||||
users.users.sckova.extraGroups = [ "i2c" ];
|
users.users.sckova.extraGroups = [ "i2c" ];
|
||||||
boot.initrd.kernelModules = [ "i2c-dev" ];
|
boot.extraModulePackages = [ config.boot.kernelPackages.ddcci-driver ];
|
||||||
|
boot.kernelModules = [
|
||||||
|
"i2c-dev"
|
||||||
|
"ddcci_backlight"
|
||||||
|
];
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
||||||
'';
|
'';
|
||||||
|
hardware.i2c.enable = true;
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = [
|
boot.binfmt.emulatedSystems = [
|
||||||
"aarch64-linux"
|
"aarch64-linux"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue