Friday | 05 DEC 2025

next

2024-02-03
Light on NixOS

You can control the backlight through the Light utility.

First the installation, update /etc/nixos/configuration.nix:

programs.light.enable = true;

Rebuild:

sudo nixos-rebuild switch

To set the brightness to max:

light -S 100