Backlight: Difference between revisions
imported>Bmillwood m typo fix "brighness" -> "brightness" |
imported>Fadenb Update `light` instructions |
||
Line 22: | Line 22: | ||
== <code>light</code> == | == <code>light</code> == | ||
<code>light</code> does not use X to change the light settings. This can be used in situations where the X service isn't available. While it does not use X, it will need some privileges to work | <code>light</code> does not use X to change the light settings. This can be used in situations where the X service isn't available. While it does not use X, it will need some privileges to work. | ||
To enable the use of <code>light</code> | To enable the use of <code>light</code>, add this to your <tt>configuration.nix</tt> and make sure that your user is a member of the <code>video</code> group. | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang=nix> | ||
programs.light.enable = true; | programs.light.enable = true; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The following commands will allow you to test <code>light</code>: | The following commands will allow you to test <code>light</code>: |