-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating Developer Docs #1545
base: develop
Are you sure you want to change the base?
Updating Developer Docs #1545
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - I was expecting the instructions to be way different! Couple of comments, but I've only requested changes because we should rename the file from idaaas.md
to nix.md
.
#### WSL 2 | ||
|
||
```shell | ||
echo "substituters = https://cache.nixos.org https://dissolve-nix.cachix.org" | sudo tee -a ~/.config/nix/nix.conf | ||
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= dissolve-nix.cachix.org-1:b7kp954+mmuowr7XZsAIBugv+xp7+n3aSF/5obidRDE=" | sudo tee -a ~/.config/nix/nix.conf | ||
sudo pkill nix-daemon | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see the only difference here is the file location where the config variables are redirected (/etc/nix/nix.conf
vs ~/.config/nix/nix.conf
). On Linux we could use the latter as well (i.e. a per-user config) to simplify the instructions although that doesn't quite match up with the use of a multi-user install.
Also, should you be using sudo
on WSL2, since you're running everything as the local user, and modifying a file in your home dir?
Co-authored-by: Tristan Youngs <[email protected]>
Closes #1538 Co-authored-by: Tristan Youngs <[email protected]>
Closes #1538.