Find a file
Eelco Dolstra ca3725bfc9 nixos-generate-config: Add --root option
If this option is given, nixos-generate-config will write the
configuration to /etc/nixos under the given root, and only emit
fileSystems attributes for filesystems under the given root directory.

The typically use case is at installation time, where you can say:

  $ nixos-generate-config --root /mnt

which will create /mnt/etc/nixos/{configuration.nix,hardware-configuration.nix}.

Also add a --force flag to force overwriting configuration.nix.
2013-10-13 17:35:56 +02:00
doc Unify the Nixpkgs and NixOS version numbers 2013-10-10 13:28:22 +02:00
lib
maintainers/scripts Fix references to pkgs/lib 2013-10-10 13:28:22 +02:00
nixos nixos-generate-config: Add --root option 2013-10-13 17:35:56 +02:00
pkgs Update python packages 2013-10-13 15:19:46 +02:00
.gitignore Merge .gitignore files 2013-10-10 13:28:22 +02:00
.version Unify the Nixpkgs and NixOS version numbers 2013-10-10 13:28:22 +02:00
COPYING
default.nix