GitHub - vic/mk-darwin-system: Small Nix utility to create an M1 aarch64-darwin (nixFlakes + nix-darwin + home-manager) system.

This repository was archived by the owner on Oct 23, 2023. It is now read-only.

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.

Topics

Resources

Readme

License

Apache-2.0 license

Activity

Stars

73 stars

Watchers

3 watching

Forks

7 forks