summaryrefslogtreecommitdiff
path: root/hostnix/mojo/flake.nix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-04-13 17:40:19 -0400
committerJoe Mou <dev@mou.fo>2026-04-14 11:21:09 -0400
commiteec26de9a9b9d93d6e7cbe14cfdf095be2c30c9e (patch)
tree10ab58bc0f25fdf066a6377b34b4412c4d9ddd30 /hostnix/mojo/flake.nix
parente07a84bffe13099ea6b347d87c72492c44ab0e0b (diff)
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
Diffstat (limited to 'hostnix/mojo/flake.nix')
-rw-r--r--hostnix/mojo/flake.nix7
1 files changed, 6 insertions, 1 deletions
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;