vic / mk-darwin-system

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Apache License 2.0


Languages

Language:Nix 94.6%Language:Makefile 5.4%