populate ip address based on hostname and populate the hostfile with other vm ips

This commit is contained in:
Dennis Frieberg 2025-03-31 02:28:53 +02:00
parent a6db8ef50f
commit cfec4e9f32
Signed by: nerf
SSH key fingerprint: SHA256:zvrU0EwwaNK65M+AqL9IOTRawFq0JZ8QXBASxxGpxmg
7 changed files with 52 additions and 8 deletions

21
nixos/roles/hostmap.nix Normal file
View file

@ -0,0 +1,21 @@
{
"192.168.1.11" = ["bragi"];
"192.168.0.13" = ["tsathoggua"];
"192.168.0.14" = ["nyogtha"];
"192.168.0.15" = ["hastur"];
"192.168.0.16" = ["cthulhu"];
"192.168.0.17" = ["nyarlathotep"];
"192.168.0.18" = ["nodens"];
"192.168.0.19" = ["uvhash"];
"192.168.0.20" = ["aphoom-zhah"];
"192.168.0.21" = ["dagon"];
"192.168.0.22" = ["lobon"];
"192.168.0.23" = ["yibb-tstll"];
"192.168.0.24" = ["eihort"];
"192.168.0.25" = ["ghatanothoa"];
"192.168.0.26" = ["toth"];
"192.168.0.27" = ["ithaqua"];
"192.168.0.28" = ["nyarlathotep"];
"192.168.0.30" = ["cthugha"];
"192.168.0.92" = ["sanctamariamaterdei"];
}