refactor: nixos-with-flakes-enabled

This commit is contained in:
Ryan Yin
2024-02-14 16:00:16 +08:00
parent 8c923eccbf
commit fbb873da54
18 changed files with 696 additions and 333 deletions

View File

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