ooknet/system/modules/hardware/backlight.nix

11 lines
157 B
Nix

{ lib, config, ... }:
let
cfg = config.systemModules.hardware.backlight;
in
{
config = lib.mkIf cfg.enable {
hardware.brillo.enable = true;
};
}