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 e42e9f0ff7
Signed by: nerf
SSH key fingerprint: SHA256:zvrU0EwwaNK65M+AqL9IOTRawFq0JZ8QXBASxxGpxmg
8 changed files with 101 additions and 56 deletions

View file

@ -3,7 +3,6 @@
./hardware-configuration.nix
../../roles
../../roles/vm.nix
../../modules/vmNetwork.nix
];
# System configuration here
@ -11,6 +10,5 @@
environment.systemPackages = [pkgs.git];
networking.hostName = "nodens";
vmNetwork.ipv4 = "192.168.0.18";
system.stateVersion = "24.11";
}