mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-02-05 21:20:19 +01:00
Mention hostname nixos-test
This commit is contained in:
parent
75fce20fde
commit
d88c7024f0
@ -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 New Issue
Block a user