mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-23 12:43:08 +00:00
Mention hostname nixos-test
This commit is contained in:
parent
75fce20fde
commit
d88c7024f0
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ Note that the copied template cannot be used directly. You need to modify it to
|
|||
|
||||
We defined a NixOS system called `nixos-test` with a configuration file at `./configuration.nix`, which is the classic configuration we modified before. Therefore, we can still make use of it.
|
||||
|
||||
To apply the configuration, run `sudo nixos-rebuild switch`. No changes will be made to the system because we imported the old configuration file in `/etc/nixos/flake.nix`, so the actual state we declared remains unchanged.
|
||||
To apply the configuration to a system with hostname `nixos-test`, run `sudo nixos-rebuild switch`. No changes will be made to the system because we imported the old configuration file in `/etc/nixos/flake.nix`, so the actual state we declared remains unchanged.
|
||||
|
||||
## Managing System Packages with Flakes
|
||||
|
||||
|
|
Loading…
Reference in a new issue