Add virtualization settings

This makes the VM beefier and uses virtio so Hyprland works.
This commit is contained in:
Donovan Glover 2023-05-11 16:40:17 -04:00
parent 7f4eac5446
commit ab910245b3
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -15,6 +15,16 @@
networking.useHostResolvConf = true;
services.udisks2.enable = true;
security.pam.services.swaylock = { };
virtualisation.vmVariant = {
virtualisation = {
memorySize = 8192;
cores = 4;
};
virtualisation.qemu.options =
[ "-device virtio-vga-gl" "-display gtk,gl=on" ];
};
stylix.image = ./wallpaper.png;
stylix.polarity = "dark";
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/monokai.yaml";