Skip to content

Commit

Permalink
fix yabai for virtual devices
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao committed Jul 30, 2024
1 parent 165ee04 commit fac225c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nix/home/os-specific/darwin.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ pkgs, lib, systemConfig, ... }:
{ pkgs
, lib
, systemConfig
, config
, ...
}:

let
isM1 = systemConfig.igm.isM1;
Expand Down Expand Up @@ -33,4 +38,6 @@ in
size = 12;
};
};

programs.zsh.sessionVariables.ANDROID_HOME = "${config.home.homeDirectory}/Library/Android/sdk";
}
1 change: 1 addition & 0 deletions nix/home/static/yabairc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
yabai -m config layout bsp

yabai -m rule --add app="^Simulator" manage=off
yabai -m rule --add app="^qemu-system-aarch64" manage=off

0 comments on commit fac225c

Please sign in to comment.