mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
fix(sakuya): nf-generate
This commit is contained in:
parent
ac760421fa
commit
128f8c1d9c
4 changed files with 38 additions and 6 deletions
|
|
@ -201,7 +201,11 @@
|
||||||
"address6": "fd0a::be24:11ff:fec4:66ab",
|
"address6": "fd0a::be24:11ff:fec4:66ab",
|
||||||
"macAddress": "BC:24:11:C4:66:AB"
|
"macAddress": "BC:24:11:C4:66:AB"
|
||||||
},
|
},
|
||||||
"tail": null
|
"tail": {
|
||||||
|
"address4": "100.70.124.79",
|
||||||
|
"address6": "fd7a:115c:a1e0::b001:7c4f",
|
||||||
|
"macAddress": null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -295,6 +299,24 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"sakuya": {
|
||||||
|
"network": {
|
||||||
|
"hostName": "sakuya",
|
||||||
|
"networks": {
|
||||||
|
"int": null,
|
||||||
|
"local": {
|
||||||
|
"address4": "10.1.1.50",
|
||||||
|
"address6": "fd0a::2ba:46ff:fef8:4052",
|
||||||
|
"macAddress": "02:ba:46:f8:40:52"
|
||||||
|
},
|
||||||
|
"tail": {
|
||||||
|
"address4": "100.71.135.42",
|
||||||
|
"address6": "fd7a:115c:a1e0::4f01:872a",
|
||||||
|
"macAddress": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"shanghai": {
|
"shanghai": {
|
||||||
"network": {
|
"network": {
|
||||||
"hostName": "shanghai",
|
"hostName": "shanghai",
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,11 @@
|
||||||
"address6": "fd0a::be24:11ff:fec4:66ab",
|
"address6": "fd0a::be24:11ff:fec4:66ab",
|
||||||
"macAddress": "BC:24:11:C4:66:AB"
|
"macAddress": "BC:24:11:C4:66:AB"
|
||||||
},
|
},
|
||||||
"tail": null
|
"tail": {
|
||||||
|
"address4": "100.70.124.79",
|
||||||
|
"address6": "fd7a:115c:a1e0::b001:7c4f",
|
||||||
|
"macAddress": null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
_: {
|
_: {
|
||||||
arch = "aarch64";
|
arch = "aarch64";
|
||||||
type = "NixOS";
|
type = "NixOS";
|
||||||
ci.allowFailure = true;
|
ci.enable = false;
|
||||||
access.online.enable = false;
|
|
||||||
modules = [
|
modules = [
|
||||||
./nixos.nix
|
./nixos.nix
|
||||||
];
|
];
|
||||||
|
|
@ -11,8 +10,8 @@ _: {
|
||||||
};
|
};
|
||||||
network.networks = {
|
network.networks = {
|
||||||
tail = {
|
tail = {
|
||||||
#address4 = "100.70.124.79";
|
address4 = "100.71.135.42";
|
||||||
#address6 = "fd7a:115c:a1e0::b001:7c4f";
|
address6 = "fd7a:115c:a1e0::4f01:872a";
|
||||||
};
|
};
|
||||||
local = {
|
local = {
|
||||||
macAddress = "02:ba:46:f8:40:52";
|
macAddress = "02:ba:46:f8:40:52";
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,13 @@ module "kasen_system_records" {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module "sakuya_system_records" {
|
||||||
|
source = "./system/records"
|
||||||
|
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
||||||
|
zone_zone = cloudflare_zone.gensokyo-zone_zone.zone
|
||||||
|
net_data = local.systems.kasen.network
|
||||||
|
}
|
||||||
|
|
||||||
module "logistics_system_records" {
|
module "logistics_system_records" {
|
||||||
source = "./system/records"
|
source = "./system/records"
|
||||||
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue