From ac13bd2575843d0bc3f0eeb88600d1bb039cd5ba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 11 Oct 2013 15:35:41 +0200 Subject: Merge "nixos-option --install" into nixos-generate-config Having configuration.nix generation hidden underneath nixos-option never made sense, also given that there was another command to generate part of the configuration (nixos-hardware-scan). Now nixos-generate-config produces both configuration.nix and hardware-configuration.nix. The latter is overwritten while the former is not. --- nixos/doc/manual/man-nixos-option.xml | 40 ++++------------------------------- 1 file changed, 4 insertions(+), 36 deletions(-) (limited to 'nixos/doc/manual/man-nixos-option.xml') diff --git a/nixos/doc/manual/man-nixos-option.xml b/nixos/doc/manual/man-nixos-option.xml index f7a8ce403dc1..bd180363e70d 100644 --- a/nixos/doc/manual/man-nixos-option.xml +++ b/nixos/doc/manual/man-nixos-option.xml @@ -18,17 +18,12 @@ nixos-option - - - - + + + option.name - - nixos-option - - @@ -40,16 +35,7 @@ of the option name given as argument. By default, it returns the value of the option. When the option name is not an option, the command prints the list of -attributes in contained in the attribute set. This could used to provide -completion in some editors. - -When the option (or ) is -used with no option name, this command generates a template configuration -with a scan of the target system. It produces a template configuration -in /etc/nixos/configuration.nix, and a scan of the -machine in /etc/nixos/hardware-configuration.nix. The -scan of the machine is produced -by nixos-hardware-scan. +attributes contained in the attribute set. @@ -59,15 +45,6 @@ by nixos-hardware-scan. - - , - - Use the installation configuration instead of current system - configuration. Generate a template configuration if no option name is - specified. - - - , @@ -102,15 +79,6 @@ by nixos-hardware-scan. - - mountPoint - - Location of the target file system. Defaults to - /mnt. This environment variable is only used in - combinaison with option. - - - NIXOS_CONFIG -- cgit 1.4.1