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.
This commit is contained in:
parent
d49f141a79
commit
49e73ea117
|
@ -413,29 +413,10 @@ EOF
|
||||||
./hardware-configuration.nix
|
./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
|
$bootLoaderConfig
|
||||||
# networking.hostName = "nixos"; # Define your hostname.
|
# networking.hostName = "nixos"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless.
|
# 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.
|
# Select internationalisation properties.
|
||||||
# i18n = {
|
# i18n = {
|
||||||
# consoleFont = "lat9w-16";
|
# consoleFont = "lat9w-16";
|
||||||
|
|
Loading…
Reference in New Issue