From 65e8e6bf1c8bb99ccd0e86257e6dd5dd21c7c09c Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 19 Oct 2024 00:09:09 +0000 Subject: [PATCH] pinephone-pro: plumb backlight through to swaync (though apparently i still disable this, in favor of nwg-panel) --- hosts/modules/hal/pine64-pinephone-pro/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/modules/hal/pine64-pinephone-pro/default.nix b/hosts/modules/hal/pine64-pinephone-pro/default.nix index d352e2093..7d092d0db 100644 --- a/hosts/modules/hal/pine64-pinephone-pro/default.nix +++ b/hosts/modules/hal/pine64-pinephone-pro/default.nix @@ -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.