diff --git a/ci/systems.json b/ci/systems.json index 9e5a73e2..88228dea 100644 --- a/ci/systems.json +++ b/ci/systems.json @@ -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", diff --git a/docs/network.adoc b/docs/network.adoc index a708184c..c0c4e01d 100644 --- a/docs/network.adoc +++ b/docs/network.adoc @@ -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` diff --git a/systems/kvm-reisen/default.nix b/systems/kvm-reisen/default.nix new file mode 100644 index 00000000..64d98b8b --- /dev/null +++ b/systems/kvm-reisen/default.nix @@ -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; + }; +} diff --git a/tf/cloudflare_records.tf b/tf/cloudflare_records.tf index 23b3f168..89e2236a 100644 --- a/tf/cloudflare_records.tf +++ b/tf/cloudflare_records.tf @@ -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