mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-08-19 08:51:33 +02:00
refactor: nixos-with-flakes-enabled
This commit is contained in:
@@ -141,7 +141,7 @@ sudo nixos-rebuild switch --option substituers "https://nix-community.cachix.org
|
||||
|
||||
Choose one of the above three methods for configuration and deployment. After a successful deployment, all subsequent packages will preferentially search for caches from domestic mirror sources.
|
||||
|
||||
> If your system hostname is not `nixos-test`, you need to modify the name of `nixosConfigurations` in `flake.nix` or use `--flake /etc/nixos#nixos-test` to specify the configuration name.
|
||||
> If your system hostname is not `my-nixos`, you need to modify the name of `nixosConfigurations` in `flake.nix` or use `--flake /etc/nixos#my-nixos` to specify the configuration name.
|
||||
|
||||
### The `extra-` Prefix for Nix Options Parameters
|
||||
|
||||
|
Reference in New Issue
Block a user