diff --git a/phone/configuration.nix b/phone/configuration.nix index 07092b19..0033fab3 100644 --- a/phone/configuration.nix +++ b/phone/configuration.nix @@ -110,6 +110,27 @@ in }; }; + virtualisation.vmVariant = { + virtualisation = { + memorySize = 4096; + cores = 4; + + sharedDirectories = { + tmp = { + source = "/tmp"; + target = "/mnt"; + }; + }; + + qemu.options = [ + "-device virtio-vga-gl" + "-display sdl,gl=on,show-cursor=off" + "-audio pa,model=hda" + "-full-screen" + ]; + }; + }; + powerManagement.enable = true; zramSwap.enable = true; nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ];