pinephone-pro: plumb backlight through to swaync (though apparently i still disable this, in favor of nwg-panel)

This commit is contained in:
2024-10-19 00:09:09 +00:00
parent 35d349a73e
commit 65e8e6bf1c

View File

@@ -36,6 +36,11 @@ in
"pine64-alsa-ucm" # upstreaming: https://github.com/alsa-project/alsa-ucm-conf/pull/375
];
# sane.programs.nwg-panel.config.torch = "white:flash"; #< TODO: enable the flashlight/torch
sane.programs.swaynotificationcenter.config = {
backlight = "backlight"; # /sys/class/backlight/*backlight*/brightness
};
boot.kernelPatches = [
{
# TODO: upstream into nixpkgs. <repo:nixos/nixpkgs:pkgs/os-specific/linux/kernel/common-config.nix>