From cb1ca420092c8854592afcf1cc0245b7245358f1 Mon Sep 17 00:00:00 2001 From: Venkateswara Rao Mandela Date: Sat, 1 Sep 2018 19:42:35 +0530 Subject: 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. --- nixos/modules/system/activation/top-level.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nixos/modules/system/activation') diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 9d410a8b9ca4..fff88e2c2bf3 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -162,6 +162,13 @@ in description = '' Additional configurations to build based on the current configuration which then has a lower priority. + + To switch to a cloned configuration (e.g. child-1) + at runtime, run + + + # sudo /run/current-system/fine-tune/child-1/bin/switch-to-configuration test + ''; }; -- cgit 1.4.1