From 1e04425da6e95b721648eaf79cc199d510101e36 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Thu, 5 Dec 2024 11:24:55 -0800 Subject: [PATCH] doc: MacOS setup guide --- README-MacOS.org | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/README-MacOS.org b/README-MacOS.org index 34b5900..449c64e 100644 --- a/README-MacOS.org +++ b/README-MacOS.org @@ -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