testing the new config before pushing to main
This commit is contained in:
parent
a545953c2d
commit
c53123d2c5
38 changed files with 370 additions and 198 deletions
22
system/modules/hardware/backlight.nix
Normal file
22
system/modules/hardware/backlight.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.systemModules.hardware.backlight;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
hardware.brillo.enable = true;
|
||||
services.clight = {
|
||||
enable = true;
|
||||
settings = {
|
||||
verbose = true;
|
||||
backlight.disabled = true;
|
||||
dpms.timeouts = [900 300];
|
||||
dimmer.timeouts = [870 270];
|
||||
gamma.long_transition = true;
|
||||
screen.disabled = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue