diff options
author | Venkateswara Rao Mandela <venkat.mandela@gmail.com> | 2018-09-01 19:42:35 +0530 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-01 16:12:35 +0200 |
commit | cb1ca420092c8854592afcf1cc0245b7245358f1 (patch) | |
tree | 7a7b846bf9b1194face6890131dadd49162f9a1c /nixos/modules/installer | |
parent | ff679f86a25dbf8c5997476a841a5a1127fa868e (diff) | |
download | nixlib-cb1ca420092c8854592afcf1cc0245b7245358f1.tar nixlib-cb1ca420092c8854592afcf1cc0245b7245358f1.tar.gz nixlib-cb1ca420092c8854592afcf1cc0245b7245358f1.tar.bz2 nixlib-cb1ca420092c8854592afcf1cc0245b7245358f1.tar.lz nixlib-cb1ca420092c8854592afcf1cc0245b7245358f1.tar.xz nixlib-cb1ca420092c8854592afcf1cc0245b7245358f1.tar.zst nixlib-cb1ca420092c8854592afcf1cc0245b7245358f1.zip |
nixos/doc: add instructions for installation behind a proxy (#45854)
The instructions to install nixos behind a proxy were not clear. While one could guess that setting http_proxy variables can get the install rolling, one could end up with an installed system where the proxy settings for the nix-daemon are not configured. This commit updates the documentation with 1. steps to install behind a proxy 2. configure the global proxy settings so that nix-daemon can access internet. 3. Pointers to use nesting.clone in case one has to use different proxy settings on different networks.
Diffstat (limited to 'nixos/modules/installer')
-rwxr-xr-x[-rw-r--r--] | nixos/modules/installer/tools/nixos-generate-config.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index bb201d97ded1..04678c919c22 100644..100755 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -574,6 +574,10 @@ $bootLoaderConfig # networking.hostName = "nixos"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + # Configure network proxy if necessary + # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + # Select internationalisation properties. # i18n = { # consoleFont = "Lat2-Terminus16"; |