From 39ddfea29c8a2073438469fd81eb767c2d20d3c6 Mon Sep 17 00:00:00 2001 From: JillThornhill <121565493+JillThornhill@users.noreply.github.com> Date: Sun, 9 Jul 2023 10:43:57 +0200 Subject: [PATCH] Update README.md Future rebuilds should use the flake, not configuration.nix --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4072119..3234b8b 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,15 @@ Note that this command references the URL of your flake, in this case `.#`, together with the name of the system `hetzner-cloud`, as highlighted by the comment in the sample flake. +This will configure and build the new NixOS server. Since the configurations are defined +in the flake, it will not create `/etc/nixos/configuration.nix`. If you need to make +changes to the configuration in future, you should make the changes in the flake, and +rebuild using the --flake option as shown below: + +``` +nixos-rebuild --flake switch +``` + The [Quickstart Guide](./docs/quickstart.md) gives more information on how to run **nixos-anywhere** in its simplest form. For more specific instructions to suit individual requirements, see the [How To Guide](./docs/howtos.md).