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
fix docs because nix.conf is a store file on Nixos (read only) #3111
Conversation
a line to the <filename linkend="sec-conf-file">nix.conf</filename> | ||
configuration file like this: | ||
|
||
<programlisting> | ||
binary-caches = http://avalon:8080/ https://cache.nixos.org/ | ||
</programlisting> | ||
|
||
<para>More information is also available here: https://nixos.wiki/wiki/Binary_Cache</para> |
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.
If there are relevant information there, they should be copied into the manual. The NixOS wiki is great but not part of the official documentation.
@@ -57,13 +57,15 @@ of Firefox, Nix will first check if the path is available on the | |||
server <literal>avalon</literal> or another binary caches. If not, it | |||
will fall back to building from source.</para> | |||
|
|||
<para>You can also tell Nix to always use your binary cache by adding | |||
<para>You can also tell Nix to always use your binary cache, if using Nixos by setting the `nix.extraOptions` in `configuration`, otherwise by adding |
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.
<para>You can also tell Nix to always use your binary cache, if using Nixos by setting the `nix.extraOptions` in `configuration`, otherwise by adding | |
<para>You can also tell Nix to always use your binary cache. When using Nixos by setting the `nix.extraOptions` in `configuration`, otherwise by adding |
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.
Well, changing it to ". When" creates a sentence without a main clause. But the ", if" isn't great stylistically either.
Also "NixOS" rather than "Nixos".
I marked this as stale due to inactivity. → More info |
I closed this issue due to inactivity. → More info |
https://unix.stackexchange.com/questions/544340/nixos-unable-to-chmod-file-changing-permissions-of-etc-nix-nix-conf-read-o