mirror of
https://github.com/numtide/nixos-anywhere.git
synced 2024-09-11 13:15:44 +03:00
Ran nix fmt
This commit is contained in:
parent
fbdc9e5c29
commit
64c793dbfb
@ -199,10 +199,10 @@ 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:
|
||||
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 <flake URL> switch
|
||||
|
@ -158,10 +158,10 @@ 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:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user