From d9ebd0d35b66264fa143105a05d1d21f0b9a90df Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Sat, 30 Sep 2017 15:08:42 +0900 Subject: [PATCH 1/3] zsh doc: precise environment.shellAliases --- nixos/modules/programs/zsh/zsh.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix index 6fb1346bbb33..5102bfef0325 100644 --- a/nixos/modules/programs/zsh/zsh.nix +++ b/nixos/modules/programs/zsh/zsh.nix @@ -36,8 +36,9 @@ in shellAliases = mkOption { default = config.environment.shellAliases; description = '' - Set of aliases for zsh shell. See - for an option format description. + Set of aliases for zsh shell. Overrides the default value taken from + . + See for an option format description. ''; type = types.attrs; # types.attrsOf types.stringOrPath; }; From 91648a2f22aa5f34dd05083e9d3ce3563e972068 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Sat, 30 Sep 2017 15:31:26 +0900 Subject: [PATCH 2/3] environment.variables: give an example --- nixos/modules/config/shells-environment.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix index 65f2e5d7af99..398660967c52 100644 --- a/nixos/modules/config/shells-environment.nix +++ b/nixos/modules/config/shells-environment.nix @@ -36,7 +36,7 @@ in default = {}; description = '' A set of environment variables used in the global environment. - These variables will be set on shell initialisation. + These variables will be set on shell initialisation (e.g. in /etc/profile). The value of each variable can be either a string or a list of strings. The latter is concatenated, interspersed with colon characters. From 8b9429008e370a075f6736e10273a0252937e258 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Thu, 30 Nov 2017 05:06:54 +0900 Subject: [PATCH 3/3] doc: add wpa_supplicant command to connect to wifi New thin laptops don't have an ethernet port and so rely on wifi to get access. With the minimal installer, setup wpa_supplicant can be hard if it is the first time so here we provide an example. --- nixos/doc/manual/installation/installing.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/installation/installing.xml b/nixos/doc/manual/installation/installing.xml index ab9108c30a71..d4746f2eb3a8 100644 --- a/nixos/doc/manual/installation/installing.xml +++ b/nixos/doc/manual/installation/installing.xml @@ -45,7 +45,10 @@ for a UEFI installation is by and large the same as a BIOS installation. The dif using ifconfig. To manually configure the network on the graphical installer, first disable network-manager with - systemctl stop network-manager. + systemctl stop network-manager. + To manually configure the wifi on the minimal installer, run + wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key'). + If you would like to continue the installation from a different machine you need to activate the SSH daemon via systemctl start sshd.