diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-17 02:51:42 +1100 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-21 11:07:47 +1100 |
| commit | 65ea368ebbed4fa52a1a59fcb06848c49b310c9c (patch) | |
| tree | 0ec80ce72f40896cbebe2ed6ee8afd01dd3515e3 /README.md | |
| parent | 9a1bea70d5728a19ee0a090dc0bcdeb73f09b7a4 (diff) | |
installer: move channel creation to README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -119,24 +119,26 @@ nix-darwin.lib.darwinSystem { Copy the [simple](./modules/examples/simple.nix) example to `~/.config/nix-darwin/configuration.nix`. -### Step 2. Installing `nix-darwin` +### Step 2. Adding `nix-darwin` channel + +```bash +nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin +nix-channel --update +``` + +### Step 3. Installing `nix-darwin` ```bash nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer ./result/bin/darwin-installer ``` -### Step 3. Updating `nix-darwin` - -The installer will configure a channel for this repository. +### Step 4. Updating `nix-darwin` ```bash nix-channel --update darwin darwin-rebuild changelog ``` - -> NOTE: If you are using Nix as a daemon service the channel for that will be owned by root. -> Use `sudo -i nix-channel --update darwin` instead. </details> ## Documentation |
