the dotfiles of Jon Carl
-
Install Ghostty - Download from ghostty.org
-
Install Homebrew - https://brew.sh/
-
Install Nix - https://nixos.org/download/
-
Install SF Symbols - Download from Apple Developer
-
Required Permissions - Terminal (or your terminal app) needs Full Disk Access permission to modify system preferences:
- Go to System Settings > Privacy & Security > Full Disk Access
- Add your terminal application (Terminal.app, Ghostty, etc.)
- Restart your terminal
Without this permission, you'll get errors like:
Could not write domain /Users/.../Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari; exiting
-
Install nix-darwin - Run from the repository root:
sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake ~/code/dotfiles#joncarl-macbook
-
Apply future changes - After initial setup, use:
sudo darwin-rebuild switch --flake ~/code/dotfiles#joncarl-macbook
To use these dotfiles with a different username, modify the username in current_system.nix:
Use current_system.nix to add machine-specific configuration without modifying the main files:
{
username = "joncarl";
configuration = {
config,
pkgs,
lib,
...
}: {
# Add your system-specific configuration here
environment.etc."pam.d/sudo_local".enable = lib.mkForce false;
};
}