mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-22 12:41:44 +01:00
Add virtualization settings
This makes the VM beefier and uses virtio so Hyprland works.
This commit is contained in:
parent
7f4eac5446
commit
ab910245b3
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user