From f182fdf6ed3acf820a5f619eda9bffee1ecd1c46 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 23 Oct 2013 16:42:34 +0200 Subject: nixos-generate-config: Add --show-hardware-config. So, we get the old behaviour of nixos-hardware-scane if we run the following command: nixos-generate-config --no-filesystems --show-hardware-config This allows to use scripts in order to fetch NixOS specific hardware information, without the need to duplicate code elsewhere. Signed-off-by: aszlig --- nixos/doc/manual/man-nixos-generate-config.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nixos/doc/manual') diff --git a/nixos/doc/manual/man-nixos-generate-config.xml b/nixos/doc/manual/man-nixos-generate-config.xml index 0771753f6893..e4fba4a40a97 100644 --- a/nixos/doc/manual/man-nixos-generate-config.xml +++ b/nixos/doc/manual/man-nixos-generate-config.xml @@ -118,6 +118,15 @@ + + + + Don't generate configuration.nix or + hardware-configuration.nix and print the + hardware configuration to stdout only. + + + -- cgit 1.4.1