mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-07 02:41:33 +00:00
machine tests take two
This commit is contained in:
parent
6b841d4b97
commit
45c8ffb40e
5 changed files with 206 additions and 0 deletions
16
flake/tests/profiles/minimal.nix
Normal file
16
flake/tests/profiles/minimal.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
# The 'minimal' test profile for nvf. This exposes the bare minimum for defining the test
|
||||
# VMs. If an addition is test-specific (e.g., targeting at a specific functionality) then
|
||||
# it does not belong here. However machine configuration that must be propagated to *all*
|
||||
# tests should be defined here.
|
||||
{
|
||||
virtualisation = {
|
||||
cores = 2;
|
||||
memorySize = 2048;
|
||||
qemu.options = ["-vga none -enable-kvm -device virtio-gpu-pci,xres=720,yres=1440"];
|
||||
};
|
||||
|
||||
users.users.test = {
|
||||
isNormalUser = true;
|
||||
password = "";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue