summary refs log tree commit diff
path: root/nixos/modules/installer
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24 05:28:37 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24 05:28:37 +0200
commit49e73ea117231a5b54fc796e29082bbc83cd4522 (patch)
tree0a318669578ed0bc7a968942215118470bf3e7da /nixos/modules/installer
parentd49f141a7937399fd2feeffa37eb9726d84d0e31 (diff)
downloadnixlib-49e73ea117231a5b54fc796e29082bbc83cd4522.tar
nixlib-49e73ea117231a5b54fc796e29082bbc83cd4522.tar.gz
nixlib-49e73ea117231a5b54fc796e29082bbc83cd4522.tar.bz2
nixlib-49e73ea117231a5b54fc796e29082bbc83cd4522.tar.lz
nixlib-49e73ea117231a5b54fc796e29082bbc83cd4522.tar.xz
nixlib-49e73ea117231a5b54fc796e29082bbc83cd4522.tar.zst
nixlib-49e73ea117231a5b54fc796e29082bbc83cd4522.zip
nixos-generate-config: Don't suggest setting fileSystems in configuration.nix
It's already set in hardware-configuration.nix so this just confuses
people.

Also get rid of boot.initrd.kernelModules, since
hardware-configuration.nix is supposed to figure that out as well.
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r--nixos/modules/installer/tools/nixos-generate-config.pl19
1 files changed, 0 insertions, 19 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index c6ac72e113be..0f9142990ec1 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -413,29 +413,10 @@ EOF
       ./hardware-configuration.nix
     ];
 
-  boot.initrd.kernelModules =
-    [ # Specify all kernel modules that are necessary for mounting the root
-      # filesystem.
-      # "xfs" "ata_piix"
-      # fbcon # Uncomment this when EFI booting to see the console before the root partition is mounted
-    ];
-
 $bootLoaderConfig
   # networking.hostName = "nixos"; # Define your hostname.
   # networking.wireless.enable = true;  # Enables wireless.
 
-  # Add filesystem entries for each partition that you want to see
-  # mounted at boot time.  This should include at least the root
-  # filesystem.
-
-  # fileSystems."/".device = "/dev/disk/by-label/nixos";
-
-  # fileSystems."/data" =     # where you want to mount the device
-  #   { device = "/dev/sdb";  # the device
-  #     fsType = "ext3";      # the type of the partition
-  #     options = "data=journal";
-  #   };
-
   # Select internationalisation properties.
   # i18n = {
   #   consoleFont = "lat9w-16";