git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #4639 from lethalman/installer-nm
85daeebDomen Kožar
nixos/doc/manual/installation/installing.xml+12−7
@@ -11,14 +11,9 @@
11 <listitem><para>Boot from the CD.</para></listitem>
11 <listitem><para>Boot from the CD.</para></listitem>
12
12
13 <listitem><para>The CD contains a basic NixOS installation. (It
13 <listitem><para>The CD contains a basic NixOS installation. (It
14− also contains Memtest86+, useful if you want to test new hardware.)
14+ also contains Memtest86+, useful if you want to test new hardware).
15 When it’s finished booting, it should have detected most of your
15 When it’s finished booting, it should have detected most of your
16− hardware and brought up networking (check
17− <command>ifconfig</command>). Networking is necessary for the
18− installer, since it will download lots of stuff (such as source
19− tarballs or Nixpkgs channel binaries). It’s best if you have a DHCP
20− server on your network. Otherwise configure networking manually
21− using <command>ifconfig</command>.</para></listitem>
16+ hardware.</para></listitem>
22
17
23 <listitem><para>The NixOS manual is available on virtual console 8
18 <listitem><para>The NixOS manual is available on virtual console 8
24 (press Alt+F8 to access).</para></listitem>
19 (press Alt+F8 to access).</para></listitem>
@@ -29,6 +24,16 @@
29 <listitem><para>If you downloaded the graphical ISO image, you can
24 <listitem><para>If you downloaded the graphical ISO image, you can
30 run <command>start display-manager</command> to start KDE.</para></listitem>
25 run <command>start display-manager</command> to start KDE.</para></listitem>
31
26
27+ <listitem><para>The boot process should have brought up networking (check
28+ <command>ifconfig</command>). Networking is necessary for the
29+ installer, since it will download lots of stuff (such as source
30+ tarballs or Nixpkgs channel binaries). It’s best if you have a DHCP
31+ server on your network. Otherwise configure networking manually
32+ using <command>ifconfig</command>.</para>
33+ <para>To manually configure the network on the graphical installer,
34+ first disable NetworkManager with
35+ <command>stop NetworkManager</command>.</para></listitem>
36+
32 <listitem><para>The NixOS installer doesn’t do any partitioning or
37 <listitem><para>The NixOS installer doesn’t do any partitioning or
33 formatting yet, so you need to that yourself. Use the following
38 formatting yet, so you need to that yourself. Use the following
34 commands:
39 commands:
nixos/modules/installer/cd-dvd/installation-cd-graphical.nix+4
@@ -14,6 +14,10 @@ with lib;
14 # Include gparted for partitioning disks
14 # Include gparted for partitioning disks
15 environment.systemPackages = [ pkgs.gparted ];
15 environment.systemPackages = [ pkgs.gparted ];
16
16
17+ # Provide networkmanager for easy wireless configuration.
18+ networking.networkmanager.enable = true;
19+ networking.wireless.enable = mkForce false;
20+
17 # KDE complains if power management is disabled (to be precise, if
21 # KDE complains if power management is disabled (to be precise, if
18 # there is no power management backend such as upower).
22 # there is no power management backend such as upower).
19 powerManagement.enable = true;
23 powerManagement.enable = true;