git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #4639 from lethalman/installer-nm

kde installer: enable networkmanager. Closes #3433

commit85daeeb2222118602a4d59777a168d010b456cd3 authorDomen Kožar <domen@dev.si> dateFri 21 Nov 2014, 22:29 (12 years ago) parent5c7c63a7dbf4d7
2 files changed+16−7
nixos/doc/manual/installation/installing.xml+12−7 nixos/modules/installer/cd-dvd/installation-cd-graphical.nix+4
nixos/doc/manual/installation/installing.xml+12−7
@@ -11,14 +11,9 @@
1111 <listitem><para>Boot from the CD.</para></listitem>
1212
1313 <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).
1515 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>
2217
2318 <listitem><para>The NixOS manual is available on virtual console 8
2419 (press Alt+F8 to access).</para></listitem>
@@ -29,6 +24,16 @@
2924 <listitem><para>If you downloaded the graphical ISO image, you can
3025 run <command>start display-manager</command> to start KDE.</para></listitem>
3126
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+
3237 <listitem><para>The NixOS installer doesn’t do any partitioning or
3338 formatting yet, so you need to that yourself. Use the following
3439 commands:
nixos/modules/installer/cd-dvd/installation-cd-graphical.nix+4
@@ -14,6 +14,10 @@ with lib;
1414 # Include gparted for partitioning disks
1515 environment.systemPackages = [ pkgs.gparted ];
1616
17+ # Provide networkmanager for easy wireless configuration.
18+ networking.networkmanager.enable = true;
19+ networking.wireless.enable = mkForce false;
20+
1721 # KDE complains if power management is disabled (to be precise, if
1822 # there is no power management backend such as upower).
1923 powerManagement.enable = true;