Skip to content

zmre/mac-nix-simple-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Companion to Walkthrough of Nix Install and Setup on MacOS

This is a simple Nix MacOS flake and shows the progress and final state of the config used in the video Walkthrough of Nix Install and Setup on MacOS.

Take a look at earlier commits to see what a really basic single file flake looks like with nix-darwin and home-manager.

Video description

This is a live walkthrough of an install of Nix on a fresh MacOS system and a tutorial showing how to make a declarative config that will meet all of your needs on MacOS.

Steps:

  1. Install of nix
  2. Creation of basic flake
  3. Addition of nix-darwin and home-manager
  4. Initial bootstrap of config
  5. Config enhancements showing linked config files and homebrew control
  6. Demonstration of adding a remote flake as a package
  7. Refactor of single nix file into multiple files and other simplifications

Nix example code:

About

Example home-manager, nix-darwin starting config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages