mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
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:
parent
f8d5b35464
commit
bbb0110a03
@ -11,11 +11,6 @@
|
||||
./stylix.nix
|
||||
./thunar.nix
|
||||
./user.nix
|
||||
./virtualization.nix
|
||||
];
|
||||
|
||||
virtualisation.vmVariant = {
|
||||
imports = [
|
||||
./virtualization.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user