Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
/ mk-darwin-system Public archive

Small Nix utility to create an M1 aarch64-darwin (nixFlakes + nix-darwin + home-manager) system.

License

Notifications You must be signed in to change notification settings

vic/mk-darwin-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation Notice

NOTE: This repo is now read-only, since I (vic) am no longer using MacOS since early 2023. You can still find a much more maintained and better alternative at https://github.com/srid/nixos-flake

Old README

Usage

  • Create your system flake:
nix flake new my-system --template github:vic/mk-darwin-system#minimal

cd my-system
git init
git add .
  • Change the values of hostName and userName inside flake.nix.

  • Create files inside nix/hostConfigurations and nix/homeConfigurations.

  • See if everything is ok by running: nix flake check

  • Activate your system running: nix run

Examples

References