1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

readme: add using nix-darwin section for non-flakes

This commit is contained in:
Michael Hoang 2024-11-17 12:33:06 +11:00
parent 65ea368ebb
commit 62f9402af0

View file

@ -133,11 +133,20 @@ nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-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 ```bash
nix-channel --update darwin nix-channel --update darwin
darwin-rebuild changelog
``` ```
</details> </details>