Skip to content

Commit

Permalink
feat: update notes around using macos
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Dec 17, 2024
1 parent 9be896c commit 537b2bc
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 104 deletions.
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ please check [here](./archinstall).

In the case of using macOS, you already have the installed macOS
(Use recovery mode by Press and hold the power button on your Mac until the system volume and the Options button
appear).
So, there is no need to install the operating system, and you cannot customize anything about it.
appear). During the fresh-installation, please check [here](./macos).
There is no need for installing the operating system, and you cannot customize anything about it.
Just run the following script to have the setup:

```bash
Expand Down Expand Up @@ -103,24 +103,24 @@ Here is the list of available resources to find name names using the schema.
to taste the Apple world again. Please note that the disk is encrypted and named `Falcon HD`.
The last `macOS Ventura` installation happened on 14 Dec 2024. ✅

| Type | Value |
| :-------: | :-------------------------------------------------------: |
| System | `Mac16,7 (MX2Y3LL/A)` |
| Processor | `Apple M4 Pro 14 cores (10 performance and 4 efficiency)` |
| Memory | `LPDDR5 - Hynix - 48 GB` |
| Type | Value |
| :-------: | :-------------------------------------------------------: |
| System | `Mac16,7 (MX2Y3LL/A)` |
| Processor | `Apple M4 Pro 14 cores (10 performance and 4 efficiency)` |
| Memory | `LPDDR5 - Hynix - 48 GB` |

![](<https://img.shields.io/badge/Apple-MacBook_Pro_(16--inch,_2024)-333333?style=for-the-badge&logo=apple&logoColor=white>)
![](<https://img.shields.io/badge/Apple-MacBook_Pro_(16--inch,_2024)-333333?style=for-the-badge&logo=apple&logoColor=white>)

- [`tantive-iv`](https://en.wikipedia.org/wiki/Tantive_IV): MacBook Air (14,2) given by Snapp, and it should
return to them when I decide to leave. The last `macOS Ventura` installation happened on 24 Jun 2024. ✅

| Type | Value |
| :-------: | :-------------------------------------------------: |
| System | `Mac14,2 (Z160000Z4HN/A)` |
| Processor | `Apple M2 8 cores (4 performance and 4 efficiency)` |
| Memory | `LPDDR4 - Micron - 16 GB` |
| Type | Value |
| :-------: | :-------------------------------------------------: |
| System | `Mac14,2 (Z160000Z4HN/A)` |
| Processor | `Apple M2 8 cores (4 performance and 4 efficiency)` |
| Memory | `LPDDR4 - Micron - 16 GB` |

![](<https://img.shields.io/badge/Apple-MacBook_Air_(13--inch,_M2,_2022)-333333?style=for-the-badge&logo=apple&logoColor=white>)
![](<https://img.shields.io/badge/Apple-MacBook_Air_(13--inch,_M2,_2022)-333333?style=for-the-badge&logo=apple&logoColor=white>)

- [`ghost`](https://starwars.fandom.com/wiki/Ghost) is my phone which is Nothing phone 1.

Expand All @@ -131,13 +131,13 @@ The username is always set to [`parham`](https://en.wikipedia.org/wiki/Parham).
- [`sandcrawler`](https://en.wikipedia.org/wiki/Sandcrawler): MacBook Pro (14,9) given by Digikala, and it should
return to them when Elahe decide to leave. The last `macOS` installation happened on dawn of the time. 🗑️

| Type | Value |
| :-------: | :------------------------------------------------------: |
| System | `Mac14,9 (MPHE3LL/A)` |
| Processor | `Apple M2 Pro 10 cores (6 performance and 4 efficiency)` |
| Memory | `LPDDR5 - Micron - 16 GB` |
![](<https://img.shields.io/badge/Apple-MacBook_Pro_(14--inch,_2023)-333333?style=for-the-badge&logo=apple&logoColor=white>)
| Type | Value |
| :-------: | :------------------------------------------------------: |
| System | `Mac14,9 (MPHE3LL/A)` |
| Processor | `Apple M2 Pro 10 cores (6 performance and 4 efficiency)` |
| Memory | `LPDDR5 - Micron - 16 GB` |

![](<https://img.shields.io/badge/Apple-MacBook_Pro_(14--inch,_2023)-333333?style=for-the-badge&logo=apple&logoColor=white>)

The username is always set to `elahe`.

Expand All @@ -161,10 +161,10 @@ You can install most of them by running the following script:
The following operating systems and their package managers are supported:

- `ArchLinux`:
- [`pacman`](https://archlinux.org/pacman/)
- [Yet another Yogurt (`yay`)](https://github.com/Jguer/yay)
- [`pacman`](https://archlinux.org/pacman/)
- [Yet another Yogurt (`yay`)](https://github.com/Jguer/yay)
- `macOS`
- [`brew`](https://brew.sh)
- [`brew`](https://brew.sh)

### Applications

Expand Down Expand Up @@ -255,7 +255,7 @@ Almost everything in Doom Emacs works with ivy. It is simple and will show you a
I use Emacs based on [doom](https://github.com/doomemacs), and I found the following configurations are useful to update my configurations based on them.

1. [psamim dotfiles](https://github.com/github/psamim/dotfiles)
- [My org-mode agenda, much better now with category icons!](https://www.reddit.com/r/emacs/comments/hnf3cw/my_orgmode_agenda_much_better_now_with_category/?utm_source=share&utm_medium=web2x&context=3)
- [My org-mode agenda, much better now with category icons!](https://www.reddit.com/r/emacs/comments/hnf3cw/my_orgmode_agenda_much_better_now_with_category/?utm_source=share&utm_medium=web2x&context=3)
2. [Academic doom](https://github.com/sunnyhasija/Academic-Doom-Emacs-Config)
3. [elenapan dotfiles](https://github.com/elenapan/dotfiles)

Expand Down
167 changes: 88 additions & 79 deletions macos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,116 +4,125 @@ Upon launching macOS for the first time, your experience may be unique from mine
Updates to the operating system from Apple and specific hardware configurations
could present minor variations from the steps outlined here.

- Select desired language and click the right arrow.
- Select country and click "Continue".
- Click "Customized Settings".
- Confirm preferred language.
- Confirm location.
- Confirm dictation (required).
- Click "Not Now" for Accessibility options.
- If prompted, choose "My computer does not connect to the internet".
- Click "Continue" and "Continue" again if requested to connect to the internet.
- Click "Continue" for Data & Privacy notification.
- Click "Not Now" for the Migration Assistant.
- Click "Set Up Later" to bypass the Apple ID requirement.
- Confirm by clicking "Skip".
- Click "Agree" to the Terms and Conditions.
- Confirm by clicking "Agree".
- Create a local computer account. This should be a generic name, such as
"Parham", and should include a very strong password which
you can remember. I **never provide any password hint** to this screen. Click
"Continue" when finished.
- Do not enable "Location Service" and click "Continue".
- Confirm choice by clicking "Don't Use".
- Select your desired time zone and click "Continue".
- Deselect all analytics options and click "Continue".
- Click "Set Up Later" to bypass "Screen Time" settings.
- Disable Siri and click "Continue".
- Choose your desired screen mode and click "Continue".
- Select desired language and click the right arrow.
- Select country and click "Continue".
- Click "Customized Settings".
- Confirm preferred language.
- Confirm location.
- Confirm dictation (required).
- Click "Not Now" for Accessibility options.
- If prompted, choose "My computer does not connect to the internet".
- Click "Continue" and "Continue" again if requested to connect to the internet.
- Click "Continue" for Data & Privacy notification.
- Click "Not Now" for the Migration Assistant.
- Click "Set Up Later" to bypass the Apple ID requirement.
- Confirm by clicking "Skip".
- Click "Agree" to the Terms and Conditions.
- Confirm by clicking "Agree".
- Create a local computer account. This should be a generic name, such as
"Parham", and should include a very strong password which
you can remember. I **never provide any password hint** to this screen. Click
"Continue" when finished.
- Do not enable "Location Service" and click "Continue".
- Confirm choice by clicking "Don't Use".
- Select your desired time zone and click "Continue".
- Deselect all analytics options and click "Continue".
- Click "Set Up Later" to bypass "Screen Time" settings.
- Disable Siri and click "Continue".
- Choose your desired screen mode and click "Continue".

Since you have no internet connectivity, there should be no notifications of pending updates.

- Launch "System Settings" from the Dock.
- Select "Wi-Fi" from the left menu and disable it.
- Disable both "Ask to join networks" and "Ask to join hotspots".
- Select Bluetooth from the left menu and disable it.
- Launch "System Settings" from the Dock.
- Select "Wi-Fi" from the left menu and disable it.
- Disable both "Ask to join networks" and "Ask to join hotspots".
- Select Bluetooth from the left menu and disable it.

I want to configure the operating system's firewall, This is only responsible for the way the
operating system treats incoming connections.

- Select "Network" from the left menu and select "Firewall".
- Enable the Firewall and click "Options".
- Disable "Automatically allow built-in software to receive...".
- Disable "Automatically allow downloaded signed software to receive...".
- Enable "Stealth mode".
- Click "OK".
- Select "Network" from the left menu and select "Firewall".
- Enable the Firewall and click "Options".
- Disable "Automatically allow built-in software to receive...".
- Disable "Automatically allow downloaded signed software to receive...".
- Enable "Stealth mode".
- Click "OK".

I like to disable all notifications possible. I do not want sensitive applications,
which will be installed later, to display content on the screen when I am not around or
when someone is over my shoulder.

- Select "Notifications" from the left menu.
- Change "Show previews" to "Never".
- Disable "Allow notifications when the device is sleeping".
- Disable "Allow notifications when the screen is locked".
- Disable "Allow notifications when mirroring or sharing the display".
- Open each application, disable notifications, and click the arrow to return.
- Select "Notifications" from the left menu.
- Change "Show previews" to "Never".
- Disable "Allow notifications when the device is sleeping".
- Disable "Allow notifications when the screen is locked".
- Disable "Allow notifications when mirroring or sharing the display".
- Open each application, disable notifications, and click the arrow to return.

I also prefer to disable any unnecessary sounds with the following steps.

- Select "Sound" from the left menu.
- Change "Alert volume" to the minimum setting.
- Disable "Play sound on startup".
- Disable "Play user interface sound effects".
- Disable "Play feedback when volume is changed".
- Select "Sound" from the left menu.
- Change "Alert volume" to the minimum setting.
- Disable "Play sound on startup".
- Disable "Play user interface sound effects".
- Disable "Play feedback when volume is changed".

The following should already be disabled by default, but let's make sure.

- Select "General" from the left menu.
- Select "AirDrop & Handoff".
- Disable "Allow Handoff between this Mac and your iCloud devices".
- Confirm AirDrop is set to "No One".
- Select "General" from the left menu.
- Select "Sharing".
- Confirm all options are disabled.
- Select "Siri & Spotlight" from the left menu.
- Confirm "Ask Siri" is disabled.
- Select "General" from the left menu.
- Select "AirDrop & Handoff".
- Disable "Allow Handoff between this Mac and your iCloud devices".
- Confirm AirDrop is set to "No One".
- Select "General" from the left menu.
- Select "Sharing".
- Confirm all options are disabled.
- Select "Siri & Spotlight" from the left menu.
- Confirm "Ask Siri" is disabled.

If you want to truly ensure that Siri is not listening in on your activity, you can conduct
the following, which may be redundant.

- Select "Siri & Spotlight" from the left menu.
- Click "Siri Suggestions & Privacy".
- Click each option and disable all toggles, then click "Done".
- Select "Siri & Spotlight" from the left menu.
- Click "Siri Suggestions & Privacy".
- Click each option and disable all toggles, then click "Done".

I do not like Apple searching through and
indexing my documents. I do not want macOS to possess a database with my sensitive
content.

- Select "Siri & Spotlight" from the left menu.
- Disable all options within the Spotlight area.
- Click "Spotlight Privacy".
- Click the "+" in the lower-left.
- Change the dropdown field to "Macintosh HD".
- Click "Choose", confirm with "OK", and click "Done".
- `sudo mdutil -i off /`
- `sudo mdutil -E /`
- Select "Siri & Spotlight" from the left menu.
- Disable all options within the Spotlight area.
- Click "Spotlight Privacy".
- Click the "+" in the lower-left.
- Change the dropdown field to "Macintosh HD".
- Click "Choose", confirm with "OK", and click "Done".
- `sudo mdutil -i off /`
- `sudo mdutil -E /`

Let's conduct a few more configurations within System Settings.

- Select "Privacy & Security" from the left menu.
- Select "Analytics & Improvements" and verify all are disabled.
- Select "Privacy & Security" from the left menu.
- Select "Apple Advertising" and disable "Personalized Ads".
- Select "General" from the left menu.
- Select "Software Update".
- Click the "i" in the circle and deselect everything.
- Select "Privacy & Security" from the left menu.
- Select "Analytics & Improvements" and verify all are disabled.
- Select "Privacy & Security" from the left menu.
- Select "Apple Advertising" and disable "Personalized Ads".
- Select "General" from the left menu.
- Select "Software Update".
- Click the "i" in the circle and deselect everything.

Apply full-disk encryption through Apple's FileVault with
the following steps

- Select "Privacy & Security" from the left menu.
- Click "Turn On..." next to "FileVault".
- Enter your system password and click "Unlock".
- Choose "Create a recovery key and do not use my iCloud account".
- Document this recovery key somewhere safe and click "Continue".
- Select "Privacy & Security" from the left menu.
- Click "Turn On..." next to "FileVault".
- Enter your system password and click "Unlock".
- Choose "Create a recovery key and do not use my iCloud account".
- Document this recovery key somewhere safe and click "Continue".

Customize shortcuts through System Settings:

- Select "Keyboard" from the left menu.
- Click the "Keyboard Shortcuts...".
- Disable all "Input Sources" shortcuts.
- Disable all "Spotlight" shortcuts.
- Change "Mission Control → Mission Control → Move left a space" to "CMD + h"
- Change "Mission Control → Mission Control → Move left a space" to "CMD + l"

0 comments on commit 537b2bc

Please sign in to comment.