diff --git a/README.md b/README.md index 2936a333..efbe56b7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # nix-darwin -Nix modules for darwin. +Nix modules for darwin, `/etc/nixos/configuration.nix` for macOS. +This will creates and manages a system profile in `/run/current-system`, just like nixos. ``` $ darwin-rebuild switch @@ -37,6 +38,12 @@ result/sw/bin/darwin-rebuild build result/sw/bin/darwin-rebuild switch ``` +If you already configured your `NIX_PATH` you can just (re)bootstrap nix-darwin + +```bash +$(nix-build '' -A system --no-out-link)/sw/bin/darwin-rebuild switch +``` + ## Example configuration Checkout [modules/examples](https://github.com/LnL7/nix-darwin/tree/master/modules/examples) for some example configurations.