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