#+title: Yabai Configuration #+begin_src nix { config, pkgs, ... }: { services.yabai = { enable = true; enableScriptingAddition = true; config = { layout = "bsp"; auto_balance = "on"; top_padding = 10; bottom_padding = 10; left_padding = 10; right_padding = 10; window_gap = 10; window_shadow = "float"; focus_follows_mouse = "autoraise"; mouse_follows_focus = "on"; mouse_modifier = "cmd"; mouse_action1 = "move"; mouse_action2 = "resize"; mouse_drop_action = "swap"; }; extraConfig = '' yabai -m rule --add app="^System Settings$" manage=off yabai -m rule --add app="^Calculator$" manage=off ''; }; } #+end_src