Skip to content

Commit

Permalink
polish: change nixos name to my-nixos to make it more understandable
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Apr 13, 2024
1 parent 7b10abd commit a59b8f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/nix-store/add-binary-cache-servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/nix-store/add-binary-cache-servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Nix 中通过如下几个 options 来配置缓存服务器:
...
}: {
nixosConfigurations = {
ai = nixpkgs.lib.nixosSystem {
my-nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hardware-configuration.nix
Expand Down Expand Up @@ -220,7 +220,7 @@ Nix 提供了
...
}: {
nixosConfigurations = {
ai = nixpkgs.lib.nixosSystem {
my-nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hardware-configuration.nix
Expand Down

0 comments on commit a59b8f6

Please sign in to comment.