nixfiles/MACMINI_SETUP_GUIDE.md
ChaotiCryptidz c9e3d33261
add b
2022-03-09 19:58:12 +00:00

31 lines
755 B
Markdown

# Mac Mini Setup Guide
## First Install
### macOS installer
Country/Region: United Kingdom
Cognitive: Dark Theme
Turn On Hover Text
### Install Nix
```
sh <(curl -L https://nixos.org/nix/install) --daemon
```
### Clone Nixfiles
```
mkdir ~/Projects
cd ~/Projects
nix-shell -p git --run "git clone https://gitlab.com/ChaotiCryptidz/nixfiles"
```
### Bootstrap Nix-Darwin
```
nix --experimental-features "nix-command flakes" build .#darwinConfigurations.MacMini.system
echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t
./result/sw/bin/darwin-rebuild switch --flake .#darwinConfigurations.MacMini
```