Skip to content
/ nix Public

Nix for macOS configuration

Notifications You must be signed in to change notification settings

benjidotsh/nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix for macOS configuration

This is my personal Nix for macOS configuration.

Prerequisites

Nix
$ sh <(curl -L https://nixos.org/nix/install)
Xcode Command Line Tools
$ xcode-select --install
Rosetta 2
$ softwareupdate --install-rosetta

Get started

1. Clone this repository

$ git clone git@github.com:benjidotsh/nix.git

2. Deploy the configuration

$ nix build .#darwinConfigurations.BEP6NDVF74Q5.system --extra-experimental-features 'nix-command flakes'

$ ./result/sw/bin/darwin-rebuild switch --flake .#BEP6NDVF74Q5

After deploying the configuration for the first time, you can simply run just deploy to apply changes.

To view all available commands, run just .

About

Nix for macOS configuration

Resources

Stars

Watchers

Forks