module: remove backlight module

Subsumed into Infini-FRAMEWORK configuration
This commit is contained in:
Infinidoge 2022-04-26 10:54:43 -04:00
parent b3a51be441
commit c65933c61e
3 changed files with 8 additions and 27 deletions

View file

@ -55,4 +55,12 @@
networking.interfaces.wlp170s0.useDHCP = true;
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
systemd.services.set-initial-backlight = {
description = "Sets the initial backlight state on startup";
wantedBy = [ "sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\\x2deDP\\x2d1-intel_backlight.device" ];
after = [ "system-systemd\\x2dbacklight.slice" "systemd-backlight@backlight:intel_backlight.service" ];
serviceConfig.Type = "oneshot";
script = "${lib.our.getMainProgram pkgs.acpilight} -set 50";
};
}