From f309ea6e99b77409d6a9b28c1ba88f25a07e7a48 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 3 Jan 2026 17:07:13 +0100 Subject: [PATCH 1/3] hardware/bluetooth: enable battery display --- modules/hardware/bluetooth/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hardware/bluetooth/default.nix b/modules/hardware/bluetooth/default.nix index 2e9ee8f..5763148 100644 --- a/modules/hardware/bluetooth/default.nix +++ b/modules/hardware/bluetooth/default.nix @@ -18,7 +18,7 @@ in powerOnBoot = true; settings = { General = { - Enable = "Source,Sink,Media,Socket"; + Experimental = true; # show battery percentages }; }; }; From d508d19fa6fa8bb5e5a5fae59c6894acf89b0006 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 3 Jan 2026 18:01:08 +0100 Subject: [PATCH 2/3] Revert "profile/sway/autostart: use lemurs" This reverts commit 72cd115d775d6f47c4ce762ef0f75e5e90393436. --- profiles/sway/autostart.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/profiles/sway/autostart.nix b/profiles/sway/autostart.nix index bf814f5..494fc81 100644 --- a/profiles/sway/autostart.nix +++ b/profiles/sway/autostart.nix @@ -8,9 +8,12 @@ in }; config = lib.mkIf cfg.enable { - services.displayManager.lemurs = { - enable = true; - settings.environment_switcher.include_tty_shell = true; - }; + + # start sway if login happens + environment.interactiveShellInit = '' + if test `tty` = /dev/tty1; then + exec sway + fi + ''; }; } From 1e3eee277f69339abbd9646143cd3978e7b38d5d Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 3 Jan 2026 18:37:54 +0100 Subject: [PATCH 3/3] profile/powersave: disale auto-suspend for keyboards --- profiles/powersave/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/profiles/powersave/default.nix b/profiles/powersave/default.nix index 4f53939..01d6501 100644 --- a/profiles/powersave/default.nix +++ b/profiles/powersave/default.nix @@ -27,5 +27,12 @@ in thermald.enable = true; upower.enable = true; }; + + services.udev.extraRules = '' + # disable USB auto suspend for Keychron Q3 HE + ACTION=="bind", SUBSYSTEM=="usb", ATTR{idVendor}=="3434", ATTR{idProduct}=="0b31", ATTR{power/autosuspend}="-1" + # disable USB auto suspend for Keychron Q3 + ACTION=="bind", SUBSYSTEM=="usb", ATTR{idVendor}=="3434", ATTR{idProduct}=="0123", ATTR{power/autosuspend}="-1" + ''; }; }