From 951e3a617adefe4346a6cbcc95d53614cfe2ee3d Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 19 May 2023 00:09:02 +0000 Subject: [PATCH] SXMO: disable LEDs on thinkpad it would cause warnings --- hosts/modules/gui/sxmo.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/modules/gui/sxmo.nix b/hosts/modules/gui/sxmo.nix index f611dfec..72ae4542 100644 --- a/hosts/modules/gui/sxmo.nix +++ b/hosts/modules/gui/sxmo.nix @@ -188,6 +188,7 @@ in # these identifiers are from `swaymsg -t get_inputs` SXMO_VOLUME_BUTTON = "1:1:AT_Translated_Set_2_keyboard"; SXMO_POWER_BUTTON = "0:1:Power_Button"; + SXMO_DISABLE_LEDS = "1"; # sxmo tries to determine device type from /proc/device-tree/compatible, # but that doesn't seem to exist on NixOS? (or maybe it just doesn't exist # on non-aarch64 builds).