Rename nixos-hardware-scan to nixos-generate-config

This commit is contained in:
Eelco Dolstra 2013-10-11 14:22:22 +02:00
parent 4b28f28028
commit 3ed41735b8
2 changed files with 5 additions and 6 deletions

View File

@ -34,9 +34,9 @@ let
src = ./nixos-rebuild.sh; src = ./nixos-rebuild.sh;
}; };
nixos-hardware-scan = makeProg { nixos-generate-config = makeProg {
name = "nixos-hardware-scan"; name = "nixos-generate-config";
src = ./nixos-hardware-scan.pl; src = ./nixos-generate-config.pl;
inherit (pkgs) perl dmidecode; inherit (pkgs) perl dmidecode;
}; };
@ -92,14 +92,13 @@ in
[ nixos-build-vms [ nixos-build-vms
nixos-install nixos-install
nixos-rebuild nixos-rebuild
nixos-hardware-scan nixos-generate-config
#nixosGenSeccureKeys
nixos-option nixos-option
nixos-version nixos-version
] ++ pkgs.lib.optional cfg.enableGraphicalTools nixos-gui; ] ++ pkgs.lib.optional cfg.enableGraphicalTools nixos-gui;
system.build = { system.build = {
inherit nixos-install nixos-hardware-scan nixos-option; inherit nixos-install nixos-generate-config nixos-option;
}; };
}; };
} }