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:
parent
65ea368ebb
commit
62f9402af0
1 changed files with 11 additions and 2 deletions
13
README.md
13
README.md
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue