summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-11-17 12:33:06 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-11-21 11:07:47 +1100
commit62f9402af0a5412045385b8ba4cb79bd8880a2c3 (patch)
treea8cdb2fb7148cfa962a906d335653e4004a878eb /README.md
parent65ea368ebbed4fa52a1a59fcb06848c49b310c9c (diff)
readme: add using `nix-darwin` section for non-flakes
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 11 insertions, 2 deletions
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
```
</details>