From c18fe31160960d4a35753a510d74c6bfb34a921c Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sat, 25 Sep 2010 09:33:13 +0000 Subject: [PATCH] Make nixos-hardware-scan adding a profile to the generated configuration file. svn path=/nixos/trunk/; revision=23918 --- modules/installer/tools/nixos-hardware-scan.pl | 1 + modules/installer/tools/tools.nix | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/modules/installer/tools/nixos-hardware-scan.pl b/modules/installer/tools/nixos-hardware-scan.pl index 25ef0afe67a..56549f99235 100644 --- a/modules/installer/tools/nixos-hardware-scan.pl +++ b/modules/installer/tools/nixos-hardware-scan.pl @@ -231,6 +231,7 @@ print <nixos-rebuild to speed up builds. ''; }; + + installer.installProfile = pkgs.lib.mkOption { + default = "base"; + example = "graphical"; + description = '' + Name of the profile used when generating the hardware-scan. + ''; + }; };