Skip to content

Commit 2da5bb6

Browse files
committed
doc(readme): update installation command
1 parent 4b4be46 commit 2da5bb6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,28 @@ EOF
2323
## Install nix(DeterminateSystems/nix-installer)
2424

2525
```sh
26-
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
26+
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate
2727
```
2828

2929
### add `trusted-users`
3030

3131
edit `/etc/nix/nix.custom.conf`:
32+
3233
```conf
3334
trusted-users = charles
3435
```
3536

3637
restart daemon:
3738

3839
on macOS:
40+
3941
```sh
4042
sudo launchctl unload /Library/LaunchDaemons/systems.determinate.nix-daemon.plist
4143
sudo launchctl load /Library/LaunchDaemons/systems.determinate.nix-daemon.plist
4244
```
4345

4446
on Ubuntu:
47+
4548
```sh
4649
sudo systemctl restart nix-daemon
4750
```

0 commit comments

Comments
 (0)