Skip to content

Commit

Permalink
fix(nix): fix wezterm on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Feb 20, 2024
1 parent eacf17c commit e112e5d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nix/modules/darwin/desktop/yabai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ in {
yabai -m rule --add app="^Firefox$" space=2
yabai -m rule --add app="^Kitty$" space=3
yabai -m rule --add app="^kitty$" space=3
yabai -m rule --add app="^wezterm$" space=3
yabai -m rule --add app="^wezterm-gui$" space=3
yabai -m rule --add app="^WezTerm$" space=3
yabai -m rule --add app="^Telegram$" space=1
yabai -m rule --add app="^Slack$" space=1
yabai -m rule --add app="^Teams$" space=1
Expand Down
1 change: 1 addition & 0 deletions nix/modules/darwin/system/fonts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ in {
fonts = with pkgs;
[
noto-fonts
dejavu_fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
Expand Down
2 changes: 1 addition & 1 deletion nix/modules/darwin/system/interface/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in {
finder = {
AppleShowAllExtensions = true;
FXEnableExtensionChangeWarning = false;
_FXShowPosixPathInTitle = false;
_FXShowPosixPathInTitle = true;
};

# NSGlobalDomain = {
Expand Down
2 changes: 1 addition & 1 deletion nix/modules/home/desktop/addons/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ config.font = wezterm.font_with_fallback {
{ family = "Symbols Nerd Font Mono", scale = 0.9 },
{ family = "DejaVu Sans", weight = "Regular", scale = 0.75 },
}
if wezterm.target_triple == "x86_64-apple-darwin" then
if wezterm.target_triple == "aarch64-apple-darwin" then
config.font_size = 18
-- Linux Setup
else
Expand Down

0 comments on commit e112e5d

Please sign in to comment.