Ran nix fmt

This commit is contained in:
JillThornhill 2023-07-09 11:48:36 +02:00
parent fbdc9e5c29
commit 64c793dbfb
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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