Skip to content

Commit fbdc9e5

Browse files
Update quickstart.md
Future rebuilds should use the flake, not configuration.nix
1 parent 39ddfea commit fbdc9e5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/quickstart.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,15 @@ directory containing the flake to update `flake.lock` before rerunning
158158
nix flake update
159159
```
160160

161+
The new server's configurations are defined in the flake. `nixos-anywhere` does not
162+
create `etc/nixos/configuration.nix`since it expects the server to be administered
163+
remotely. Any future changes to the configuration should be made to the flake, and
164+
you would reference this flake when doing the rebuild:
165+
166+
```
167+
nixos-rebuild --flake <URL to your flake> switch
168+
```
169+
161170
For more information on different use cases of **nixos-anywhere** please refer
162171
to the [How to Guide](./howtos.md), and for more technical information and
163172
explanation of known error messages, refer to the

0 commit comments

Comments
 (0)