virtualization: Always use vmVariant

This works since we're no longer depending on a network of virtual
machines that use their own virtualization configurations.
This commit is contained in:
Donovan Glover 2023-06-18 11:56:51 -04:00
parent f8d5b35464
commit bbb0110a03
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 19 additions and 22 deletions

View File

@ -11,11 +11,6 @@
./stylix.nix
./thunar.nix
./user.nix
./virtualization.nix
];
virtualisation.vmVariant = {
imports = [
./virtualization.nix
];
};
}

View File

@ -1,24 +1,26 @@
{
virtualisation = {
memorySize = 8192;
cores = 4;
virtualisation.vmVariant = {
virtualisation = {
memorySize = 8192;
cores = 4;
sharedDirectories = {
testing = {
source = "/home/user/containers/testing";
target = "/mnt";
sharedDirectories = {
testing = {
source = "/home/user/containers/testing";
target = "/mnt";
};
};
};
};
virtualisation.qemu.options = [
"-device virtio-vga-gl"
"-display sdl,gl=on,show-cursor=off"
"-full-screen"
"-audio pa,model=hda"
];
virtualisation.qemu.options = [
"-device virtio-vga-gl"
"-display sdl,gl=on,show-cursor=off"
"-full-screen"
"-audio pa,model=hda"
];
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
};
};
}