From 87b4b55847b406f2c828eb6bd54a4ecdad4fed89 Mon Sep 17 00:00:00 2001 From: Jan Schmitt Date: Fri, 23 Aug 2024 22:07:00 +0200 Subject: [PATCH] docs: update readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3a85332..846dd2f 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ It's still very much work in progress. 1. Install [nix](https://nixos.org/guides/install-nix.html) on your machine. -2. Install [nix-darwin](https://github.com/LnL7/nix-darwin). - -3. The first build needs to be made manually: +2. The first build which will also setup nix-darwin needs to be made manually: ```shell -nix build '$HOME/dotfiles?submodules=1#darwinConfigurations.m1.system' -./result/sw/bin/darwin-rebuild switch --flake $HOME/dotfiles?submodules=1#m1 +nix --extra-experimental-features nix-command \ + --extra-experimental-features flakes \ + run nix-darwin -- switch --flake "$HOME/dotfiles?submodules=1#m1" + ``` Consecutive runs can be done via