polish: change nixos name to my-nixos to make it more understandable

This commit is contained in:
Ryan Yin 2024-04-13 23:35:38 +08:00
parent 7b10abda1d
commit a59b8f63a1
2 changed files with 4 additions and 4 deletions

View File

@ -150,7 +150,7 @@ The second method is to configure `substituters` and `trusted-public-keys` using
... ...
}: { }: {
nixosConfigurations = { nixosConfigurations = {
ai = nixpkgs.lib.nixosSystem { my-nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -238,7 +238,7 @@ In other words, you can use it like this:
... ...
}: { }: {
nixosConfigurations = { nixosConfigurations = {
ai = nixpkgs.lib.nixosSystem { my-nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix

View File

@ -138,7 +138,7 @@ Nix 中通过如下几个 options 来配置缓存服务器:
... ...
}: { }: {
nixosConfigurations = { nixosConfigurations = {
ai = nixpkgs.lib.nixosSystem { my-nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -220,7 +220,7 @@ Nix 提供了
... ...
}: { }: {
nixosConfigurations = { nixosConfigurations = {
ai = nixpkgs.lib.nixosSystem { my-nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hardware-configuration.nix ./hardware-configuration.nix