My nixpkgs mirror for patching things.
Go to 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 Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
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 * Applying an MIT-style license to Nixpkgs. 2006-04-25 16:50:34 +00:00
default.nix * For convenience, provide a top-level Nix expression that simply 2007-04-26 14:32:57 +00:00