config/README-MacOS.org

39 lines
1.1 KiB
Org Mode
Raw Normal View History

2024-12-05 11:24:55 -08:00
# Configuration for MacOS
* Installation
2024-12-05 11:24:55 -08:00
Install
- [[https://brew.sh/][Homebrew]]
- [[https://lix.systems/install/][Lix]]
2024-12-05 11:24:55 -08:00
and use ~nix-darwin~ to install the system flake
#+begin_src sh
nix run nix-darwin -- switch --flake ~/.config/nix-darwin
#+end_src
To update the system after flake changes,
#+begin_src sh
darwin-rebuild switch --flake .
#+end_src
Optionally, run
#+begin_src
nix-collect-garbage --delete-old
#+end_src
* Desktop Environment
- [[https://github.com/koekeishiya/yabai][yabai]]: Window manager, see [[https://github.com/koekeishiya/yabai/wiki][setup guide]]
To avoid space rearranging automatically, go to
/System Settings - Desktop & Dock - Mission Control - Automatically rearrange Spaces .../
and uncheck.
- [[https://github.com/koekeishiya/skhd][skhd]]: Hotkey manager
See [[https://github.com/koekeishiya/skhd/issues/1][this guide]] for keybindings
~fn~ key is used as the workspace leader key and ~cmd~ key is used as window
leader key. The reason is that ~fn~ and arrow key combinations disable arrow
keys for other applications.
2024-12-05 11:24:55 -08:00
- Sketchybar: Status Bar