doc: MacOS setup guide

This commit is contained in:
Leni Aniva 2024-12-05 11:24:55 -08:00
parent 312a955fd6
commit 1e04425da6
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 21 additions and 7 deletions

View File

@ -1,10 +1,27 @@
# Desktop Environment for MacOS
# Configuration for MacOS
* Installation
Install Homebrew.
Install
- [[https://brew.sh/][Homebrew]]
- [[https://lix.systems/install/][Lix]]
* Desktop Manager
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]]
@ -18,7 +35,4 @@ Install Homebrew.
~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.
- ~Karabiner-elements~: Install and remap Caps Lock to Meh key. This is the
master key for window operations in ~yabai~.
- [[https://github.com/felixhageloh/uebersicht][Uebersicht]]: Widgets manager
- [[https://github.com/Jean-Tinland/simple-bar][simple-bar]]: Status bar (see page for installation guide)
- Sketchybar: Status Bar