File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,15 @@ directory containing the flake to update `flake.lock` before rerunning
158
158
nix flake update
159
159
```
160
160
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
+
161
170
For more information on different use cases of ** nixos-anywhere** please refer
162
171
to the [ How to Guide] ( ./howtos.md ) , and for more technical information and
163
172
explanation of known error messages, refer to the
You can’t perform that action at this time.
0 commit comments