Update quickstart.md

Future rebuilds should use the flake, not configuration.nix
This commit is contained in:
JillThornhill 2023-07-09 10:46:09 +02:00 committed by GitHub
parent 39ddfea29c
commit fbdc9e5c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,6 +158,15 @@ directory containing the flake to update `flake.lock` before rerunning
nix flake update
```
The new server's configurations are defined in the flake. `nixos-anywhere` does not
create `etc/nixos/configuration.nix`since it expects the server to be administered
remotely. Any future changes to the configuration should be made to the flake, and
you would reference this flake when doing the rebuild:
```
nixos-rebuild --flake <URL to your flake> switch
```
For more information on different use cases of **nixos-anywhere** please refer
to the [How to Guide](./howtos.md), and for more technical information and
explanation of known error messages, refer to the