From 6bb278659f4670107e0445d7ed258e88fb1c4801 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Thu, 23 Oct 2014 13:23:40 +0200 Subject: [PATCH 1/2] kde installer: enable networkmanager. Closes #3433 --- nixos/modules/installer/cd-dvd/installation-cd-graphical.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical.nix index b1e1d16c610..189cca9e23b 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-graphical.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical.nix @@ -14,6 +14,10 @@ with lib; # Include gparted for partitioning disks environment.systemPackages = [ pkgs.gparted ]; + # Provide networkmanager for easy wireless configuration. + networking.networkmanager.enable = true; + networking.wireless.enable = mkForce false; + # KDE complains if power management is disabled (to be precise, if # there is no power management backend such as upower). powerManagement.enable = true; From 7dbf4d73c7f21714ca41af268e21019eaf06ccfd Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Sun, 2 Nov 2014 23:41:01 +0100 Subject: [PATCH 2/2] docs: hint to stop NetworkManager during installation to manually configure the network --- nixos/doc/manual/installation/installing.xml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/nixos/doc/manual/installation/installing.xml b/nixos/doc/manual/installation/installing.xml index b140c56fbee..dd1acba2168 100644 --- a/nixos/doc/manual/installation/installing.xml +++ b/nixos/doc/manual/installation/installing.xml @@ -11,14 +11,9 @@ Boot from the CD. The CD contains a basic NixOS installation. (It - also contains Memtest86+, useful if you want to test new hardware.) + also contains Memtest86+, useful if you want to test new hardware). When it’s finished booting, it should have detected most of your - hardware and brought up networking (check - ifconfig). Networking is necessary for the - installer, since it will download lots of stuff (such as source - tarballs or Nixpkgs channel binaries). It’s best if you have a DHCP - server on your network. Otherwise configure networking manually - using ifconfig. + hardware. The NixOS manual is available on virtual console 8 (press Alt+F8 to access). @@ -29,6 +24,16 @@ If you downloaded the graphical ISO image, you can run start display-manager to start KDE. + The boot process should have brought up networking (check + ifconfig). Networking is necessary for the + installer, since it will download lots of stuff (such as source + tarballs or Nixpkgs channel binaries). It’s best if you have a DHCP + server on your network. Otherwise configure networking manually + using ifconfig. + To manually configure the network on the graphical installer, + first disable NetworkManager with + stop NetworkManager. + The NixOS installer doesn’t do any partitioning or formatting yet, so you need to that yourself. Use the following commands: