From eec26de9a9b9d93d6e7cbe14cfdf095be2c30c9e Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Mon, 13 Apr 2026 17:40:19 -0400 Subject: mojo: Karabiner-Elements Cannot use nix-darwin because of https://github.com/nix-darwin/nix-darwin/issues/1041 Anyway since it uses kernel extensions, etc, this might be better via the cask. Since Karabiner-Elements creates a virtual device, it should be configured before LinearMouse. Unlike LinearMouse, reverse scrolling works with iPad continuity too --- hostnix/mojo/flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hostnix/mojo/flake.nix') diff --git a/hostnix/mojo/flake.nix b/hostnix/mojo/flake.nix index 3ea5265..b76a7f1 100644 --- a/hostnix/mojo/flake.nix +++ b/hostnix/mojo/flake.nix @@ -62,7 +62,12 @@ # enableBashIntegration = true; onActivation.cleanup = "uninstall"; brews = [ "mas" ]; - casks = [ "linearmouse" ]; + casks = [ + # Swap Command/Option, simulate fn, default fn1-12, reverse scroll. + "karabiner-elements" + # Scroll by lines and universal back/forward. + "linearmouse" + ]; masApps = { "Ghostery Privacy Ad Blocker" = 6504861501; "Kagi for Safari" = 1622835804; -- cgit v1.3.1