feat(nkvm): reisen

This commit is contained in:
arcnmx 2024-10-13 09:40:57 -07:00
parent 1fd6cbd510
commit 35772eef32
4 changed files with 48 additions and 0 deletions

View file

@ -191,6 +191,24 @@
}
}
},
"kvm-reisen": {
"network": {
"hostName": "kvm-reisen",
"networks": {
"int": null,
"local": {
"address4": "10.1.1.9",
"address6": null,
"macAddress": null
},
"tail": {
"address4": "100.127.157.98",
"address6": "fd7a:115c:a1e0::1901:9d62",
"macAddress": null
}
}
}
},
"litterbox": {
"network": {
"hostName": "litterbox",

View file

@ -15,6 +15,8 @@ u7-pro:: `10.1.1.3`
gensokyo:: `10.1.1.4`
eientei:: `10.1.1.5`
kvm-reisen:: `10.1.1.9`
shanghai:: `10.1.1.32`
hourai:: `10.1.1.36`
@ -44,10 +46,12 @@ koishi:: `10.1.1.68`
outdoor-friend:: `10.1.1.81`
bedroom-friend:: `10.1.1.82`
bedroom-colour-strip:: `10.1.1.85`
net_ac_9628:: `10.1.1.90`
printer:: `10.1.1.91`
ps2:: `10.1.1.96`
pinecube:: `10.1.1.97`

View file

@ -0,0 +1,19 @@
{...}: {
type = "Linux";
network.networks = {
local = {
slaac.enable = false;
address4 = "10.1.1.9";
address6 = null;
};
tail = {
address4 = "100.127.157.98";
address6 = "fd7a:115c:a1e0::1901:9d62";
};
};
exports.services = {
tailscale.enable = true;
sshd.enable = true;
#nkvm.enable = true;
};
}

View file

@ -192,6 +192,13 @@ module "u7pro_system_records" {
local_v6 = "fd0a::${var.u7pro_ipv6_postfix}"
}
module "kvm_reisen_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.kvm-reisen.network
}
module "tewi_legacy_system_records" {
source = "./system/records"
zone_id = cloudflare_zone.gensokyo-zone_zone.id