Backlight: Difference between revisions

m add source link to ddcci overlay
Kittyd (talk | contribs)
No edit summary
 
Line 77: Line 77:
You can then bind this to a hotkey or similar. <code>sudo</code> may be avoidable if your user is in the correct group, or udev rules have set the appropriate <code>/sys</code> permissions.
You can then bind this to a hotkey or similar. <code>sudo</code> may be avoidable if your user is in the correct group, or udev rules have set the appropriate <code>/sys</code> permissions.


Add <code>i2c-dev</code> to <code>boot.kernelModules</code> and {{nixos:package|ddcutil}} to your system packages to make permanent.
To make this permanent, add {{nixos:package|ddcutil}} to your system packages, and enable i2c support.<syntaxhighlight lang="nix">
hardware.i2c.enable = true
</syntaxhighlight>


=== Via <code>ddcci-driver</code> ===
=== Via <code>ddcci-driver</code> ===