mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(docs): assign koishi address
This commit is contained in:
parent
e4ab8c27c8
commit
55dc7d2b06
4 changed files with 31 additions and 0 deletions
|
|
@ -159,6 +159,20 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"koishi": {
|
||||||
|
"network": {
|
||||||
|
"hostName": "koishi",
|
||||||
|
"networks": {
|
||||||
|
"int": null,
|
||||||
|
"local": {
|
||||||
|
"address4": "10.1.1.68",
|
||||||
|
"address6": null,
|
||||||
|
"macAddress": null
|
||||||
|
},
|
||||||
|
"tail": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"kuwubernetes": {
|
"kuwubernetes": {
|
||||||
"network": {
|
"network": {
|
||||||
"hostName": "kuwubernetes",
|
"hostName": "kuwubernetes",
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ satorin:: `10.1.1.64`
|
||||||
fire10:: `10.1.1.65`
|
fire10:: `10.1.1.65`
|
||||||
chromecast:: `10.1.1.66`
|
chromecast:: `10.1.1.66`
|
||||||
bedroom_tv:: `10.1.1.67`
|
bedroom_tv:: `10.1.1.67`
|
||||||
|
koishi:: `10.1.1.68`
|
||||||
|
|
||||||
outdoor-friend:: `10.1.1.81`
|
outdoor-friend:: `10.1.1.81`
|
||||||
bedroom-friend:: `10.1.1.82`
|
bedroom-friend:: `10.1.1.82`
|
||||||
|
|
|
||||||
9
systems/koishi/default.nix
Normal file
9
systems/koishi/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
_: {
|
||||||
|
type = "Linux";
|
||||||
|
network.networks = {
|
||||||
|
local = {
|
||||||
|
address4 = "10.1.1.68";
|
||||||
|
address6 = null; # TODO
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -177,3 +177,10 @@ module "chen_system_records" {
|
||||||
zone_zone = cloudflare_zone.gensokyo-zone_zone.zone
|
zone_zone = cloudflare_zone.gensokyo-zone_zone.zone
|
||||||
net_data = local.systems.chen.network
|
net_data = local.systems.chen.network
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module "koishi_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.koishi.network
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue