doc: MacOS setup guide
This commit is contained in:
parent
312a955fd6
commit
1e04425da6
|
@ -1,10 +1,27 @@
|
||||||
# Desktop Environment for MacOS
|
# Configuration for MacOS
|
||||||
|
|
||||||
* Installation
|
* 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]]
|
- [[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
|
~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
|
leader key. The reason is that ~fn~ and arrow key combinations disable arrow
|
||||||
keys for other applications.
|
keys for other applications.
|
||||||
- ~Karabiner-elements~: Install and remap Caps Lock to Meh key. This is the
|
- Sketchybar: Status Bar
|
||||||
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)
|
|
||||||
|
|
Loading…
Reference in New Issue