mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
ca3725bfc9
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. |
||
---|---|---|
.. | ||
config | ||
hardware | ||
installer | ||
misc | ||
profiles | ||
programs | ||
security | ||
services | ||
system | ||
tasks | ||
testing | ||
virtualisation | ||
module-list.nix | ||
rename.nix |