nixfiles/guides/MACMINI_SETUP_GUIDE.md

33 lines
793 B
Markdown
Raw Normal View History

# 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"
2022-03-09 18:54:47 +00:00
```
### Bootstrap Nix-Darwin
```
2022-03-09 19:02:20 +00:00
nix --experimental-features "nix-command flakes" build .#darwinConfigurations.MacMini.system
2022-03-09 19:58:12 +00:00
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
2022-03-09 19:02:20 +00:00
./result/sw/bin/darwin-rebuild switch --flake .#darwinConfigurations.MacMini
2022-03-09 18:54:47 +00:00
```
2022-03-09 20:34:22 +00:00
## Websites
follow WEB_SETUP_GUIDE.md