mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-29 14:11:05 +02: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;
|
networking.useHostResolvConf = true;
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
security.pam.services.swaylock = { };
|
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.image = ./wallpaper.png;
|
||||||
stylix.polarity = "dark";
|
stylix.polarity = "dark";
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/monokai.yaml";
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/monokai.yaml";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user