-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few trivial conflicts due to *Platforms mass replace.
- Loading branch information
Showing
678 changed files
with
57,199 additions
and
58,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Expose the minimum required version for evaluating Nixpkgs | ||
"1.11" | ||
"2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
nixos/doc/manual/installation/installing-behind-a-proxy.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<section xmlns="http://docbook.org/ns/docbook" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
version="5.0" | ||
xml:id="sec-installing-behind-proxy"> | ||
<title>Installing behind a proxy</title> | ||
|
||
<para> | ||
To install NixOS behind a proxy, do the following before running | ||
<literal>nixos-install</literal>. | ||
</para> | ||
<orderedlist numeration="arabic"> | ||
<listitem> | ||
<para> | ||
Update proxy configuration in | ||
<literal>/mnt/etc/nixos/configuration.nix</literal> to keep the | ||
internet accessible after reboot. | ||
</para> | ||
<programlisting> | ||
networking.proxy.default = "http://user:password@proxy:port/"; | ||
networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; | ||
</programlisting> | ||
</listitem> | ||
<listitem> | ||
<para> | ||
Setup the proxy environment variables in the shell where you are | ||
running <literal>nixos-install</literal>. | ||
</para> | ||
<programlisting> | ||
# proxy_url="http://user:password@proxy:port/" | ||
# export http_proxy="$proxy_url" | ||
# export HTTP_PROXY="$proxy_url" | ||
# export https_proxy="$proxy_url" | ||
# export HTTPS_PROXY="$proxy_url" | ||
</programlisting> | ||
</listitem> | ||
</orderedlist> | ||
|
||
<note> | ||
<para> | ||
If you are switching networks with different proxy configurations, use the | ||
<literal>nesting.clone</literal> option in | ||
<literal>configuration.nix</literal> to switch proxies at runtime. | ||
Refer to <xref linkend="ch-options" /> for more information. | ||
</para> | ||
</note> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.