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 committed by nerf
parent 1a819e1ca4
commit 7f5496c9c9
8 changed files with 104 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";
}