fix comments about nixos-hardware-scan

It has been renamed to nixos-generate-config in 3ed4173

authored by

Brice Waegeneire and committed by
Franz Pletz
47c214cc 41933918

+3 -3
+1 -1
nixos/modules/installer/scan/detected.nix
··· 1 - # List all devices which are detected by nixos-hardware-scan. 2 # Common devices are enabled by default. 3 { config, lib, pkgs, ... }: 4
··· 1 + # List all devices which are detected by nixos-generate-config. 2 # Common devices are enabled by default. 3 { config, lib, pkgs, ... }: 4
+1 -1
nixos/modules/installer/scan/not-detected.nix
··· 1 - # List all devices which are _not_ detected by nixos-hardware-scan. 2 # Common devices are enabled by default. 3 { config, lib, pkgs, ... }: 4
··· 1 + # List all devices which are _not_ detected by nixos-generate-config. 2 # Common devices are enabled by default. 3 { config, lib, pkgs, ... }: 4
+1 -1
nixos/modules/system/boot/kernel.nix
··· 176 177 boot.initrd.availableKernelModules = 178 [ # Note: most of these (especially the SATA/PATA modules) 179 - # shouldn't be included by default since nixos-hardware-scan 180 # detects them, but I'm keeping them for now for backwards 181 # compatibility. 182
··· 176 177 boot.initrd.availableKernelModules = 178 [ # Note: most of these (especially the SATA/PATA modules) 179 + # shouldn't be included by default since nixos-generate-config 180 # detects them, but I'm keeping them for now for backwards 181 # compatibility. 182