Skip to content

adampie/nixconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixconfig

Commands

Switch

sudo darwin-rebuild switch --flake .#

Update

nix flake update
darwin-rebuild build --flake .#
sudo darwin-rebuild switch --flake .#

Formatting

nix fmt .
nix flake check --all-systems

Install

  1. Check Hostname

  2. Install Homebrew

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  3. Install 1Password and configure

    1. Install

      brew install 1password --cask
    2. Configure SSH Agent

  4. Install Determinate Nix

  5. Install nix-darwin and Apply Configuration

    1. Set up GitHub Keys
    1. Run nix-darwin (fail)
    sudo nix run nix-darwin -- switch --flake "https://flakehub.com/f/adampie/nixconfig/0#"

    If writing to /etc/zshenv fails, run sudo mv /etc/zshenv /etc/zshenv.before-nix-darwin

  6. Mac Settings

    • General

      • AutoFill from Passwords -> False
    • Desktop & Dock

      • Show Widgets On Desktop -> False
    • Displays

      • More Space
    • Spotlight

      • Show related content -> False
      • Help Apple Improve Search -> False
    • Privacy & Security

      • Full Disk Access

        • Ghostty -> True
      • Location Services

        • Significant locations and routes -> False
        • Mac Analytics -> False
      • Advanced

        • Require an administrator password to access systemwide settings -> True
  7. Application Settings

    • 1Password - Deverloper

      • Show 1Password Developer experience -> True
      • Use the SSH Agent -> True
      • Open SSH URLs with -> Ghostty
      • Integrate with 1Password CLI -> True
      • Check for developer credentials on disk -> True
    • Safari

      • AutoFill -> Disable all
      • Security -> Warn before connecting to a website over HTTP
      • Extensions -> Allow in Private Browsing
      • Advanced -> Show full website address
      • Advanced -> Show features for web developers
      • Active Wipr

Contributors 3

  •  
  •  
  •  

Languages