From 62f9402af0a5412045385b8ba4cb79bd8880a2c3 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Sun, 17 Nov 2024 12:33:06 +1100 Subject: readme: add using `nix-darwin` section for non-flakes --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f029c9a..a4ce598 100644 --- a/README.md +++ b/README.md @@ -133,11 +133,20 @@ nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer ./result/bin/darwin-installer ``` -### Step 4. Updating `nix-darwin` +### Step 4. Using `nix-darwin` + +After installing, you can run `darwin-rebuild` to apply changes to your system: + +```bash +darwin-rebuild switch +``` + +### Step 5. Updating `nix-darwin` + +You can update `nix-darwin` using the following command: ```bash nix-channel --update darwin -darwin-rebuild changelog ``` -- cgit v1.2.3