mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-08-18 08:29:40 +02:00
Merge pull request #86 from ryan4yin/refactor-nixos-with-flakes-enabled
refactor: nixos with flakes enabled
This commit is contained in:
@@ -141,7 +141,7 @@ sudo nixos-rebuild switch --option substituters "https://nix-community.cachix.or
|
||||
|
||||
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