_: {
  services = {
    yabai = {
      enable = true;
      config = {
        external_bar = "main:40:0";
        menubar_opacity = 1.0;
        mouse_follows_focus = "on";
        focus_follows_mouse = "on";
        display_arrangement_order = "default";

        window_origin_display = "default";
        window_placement = "second_child";
        window_insertion_point = "focused";
        window_zoom_persist = "on";
        window_shadow = "off";
        window_animation_duration = 0.0;
        window_animation_easing = "ease_out_circ";
        window_opacity_duration = 0.0;
        active_window_opacity = 1.0;
        normal_window_opacity = 0.9;
        window_opacity = "off";

        insert_feedback_color = "0xffd75f5f";
        split_ratio = 0.5;
        split_type = "auto";
        auto_balance = "off";
        top_padding = 2;
        bottom_padding = 2;
        left_padding = 2;
        right_padding = 2;
        window_gap = 2;

        layout = "bsp";
        mouse_modifier = "fn";
        mouse_action1 = "move";
        mouse_action2 = "resize";
        mouse_drop_action = "swap";
      };
    };
  };
}
