Add VM conf
All checks were successful
check / check (push) Successful in 27s

This commit is contained in:
Florian RICHER 2024-05-24 23:31:04 +02:00
parent 2abd5f2084
commit f043d47382
2 changed files with 35 additions and 0 deletions

View file

@ -30,5 +30,15 @@
};
};
# Configure for testing in vm
users.users.florian.initialPassword = "test";
virtualisation.vmVariant = {
# following configuration is added only when building VM with build-vm
virtualisation = {
memorySize = 8192; # Use 8192MiB memory.
cores = 8;
};
};
networking.hostName = "nixos-vm"; # Define your hostname.
}