chore: update comments

This commit is contained in:
Ryan Yin
2024-03-24 21:27:46 +08:00
parent f150f05af1
commit 5524422e6c

View File

@@ -8,7 +8,9 @@
prefixLength = 24; prefixLength = 24;
hostsAddr = { hostsAddr = {
# ============================================
# Homelab's Physical Machines (KubeVirt Nodes) # Homelab's Physical Machines (KubeVirt Nodes)
# ============================================
kubevirt-shoryu = { kubevirt-shoryu = {
iface = "eno1"; iface = "eno1";
ipv4 = "192.168.5.181"; ipv4 = "192.168.5.181";
@@ -22,7 +24,9 @@
ipv4 = "192.168.5.183"; ipv4 = "192.168.5.183";
}; };
# ============================================
# Other VMs and Physical Machines # Other VMs and Physical Machines
# ============================================
ai = { ai = {
# Desktop PC # Desktop PC
iface = "enp5s0"; iface = "enp5s0";
@@ -44,12 +48,12 @@
ipv4 = "192.168.5.103"; ipv4 = "192.168.5.103";
}; };
nozomi = { nozomi = {
# LicheePi 4A's wireless iterface - RISC-V # LicheePi 4A's wireless interface - RISC-V
iface = "wlan0"; iface = "wlan0";
ipv4 = "192.168.5.104"; ipv4 = "192.168.5.104";
}; };
yukina = { yukina = {
# LicheePi 4A's wireless iterface - RISC-V # LicheePi 4A's wireless interface - RISC-V
iface = "wlan0"; iface = "wlan0";
ipv4 = "192.168.5.105"; ipv4 = "192.168.5.105";
}; };
@@ -71,6 +75,9 @@
ipv4 = "192.168.5.179"; ipv4 = "192.168.5.179";
}; };
# ============================================
# Kubernetes Clusters
# ============================================
k3s-prod-1-master-1 = { k3s-prod-1-master-1 = {
# VM # VM
iface = "ens18"; iface = "ens18";
@@ -109,10 +116,12 @@
key: val: { key: val: {
interfaces."${val.iface}" = { interfaces."${val.iface}" = {
useDHCP = false; useDHCP = false;
ipv4.addresses = [{ ipv4.addresses = [
inherit prefixLength; {
address = val.ipv4; inherit prefixLength;
}]; address = val.ipv4;
}
];
}; };
} }
) )