Sunday | 23 JUN 2024
[ previous ]
[ next ]

Light on NixOS

Title:
Date: 2024-02-03
Tags:  

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