mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-11-21 23:53:12 +01:00
polish: change nixos name to my-nixos to make it more understandable
This commit is contained in:
parent
7b10abda1d
commit
a59b8f63a1
@ -150,7 +150,7 @@ The second method is to configure `substituters` and `trusted-public-keys` using
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
ai = nixpkgs.lib.nixosSystem {
|
||||
my-nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
@ -238,7 +238,7 @@ In other words, you can use it like this:
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
ai = nixpkgs.lib.nixosSystem {
|
||||
my-nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
|
@ -138,7 +138,7 @@ Nix 中通过如下几个 options 来配置缓存服务器:
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
ai = nixpkgs.lib.nixosSystem {
|
||||
my-nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
@ -220,7 +220,7 @@ Nix 提供了
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations = {
|
||||
ai = nixpkgs.lib.nixosSystem {
|
||||
my-nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hardware-configuration.nix
|
||||
|
Loading…
Reference in New Issue
Block a user