From bef130240c10b90d912aa06239402a6ad98867fe Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 14 Jan 2025 08:43:12 +0100 Subject: ... --- accounts/gkleen@sif/libvirt/default.nix | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'accounts/gkleen@sif/libvirt') diff --git a/accounts/gkleen@sif/libvirt/default.nix b/accounts/gkleen@sif/libvirt/default.nix index f86a68a2..70ac22b9 100644 --- a/accounts/gkleen@sif/libvirt/default.nix +++ b/accounts/gkleen@sif/libvirt/default.nix @@ -16,8 +16,8 @@ with flakeInputs.nixVirt.lib; memory = { count = 16; unit = "GiB"; }; storage_vol = "/home/gkleen/.local/share/libvirt/images/lmmirzm-vmrz01.qcow2"; nvram_path = "/home/gkleen/.local/share/libvirt/lmmirzm-vmrz01.nvram"; - virtio_drive = false; - virtio_video = false; + virtio_drive = true; + virtio_video = true; install_virtio = false; }) { qemu-commandline.env = [ @@ -33,11 +33,12 @@ with flakeInputs.nixVirt.lib; os.bootmenu.enable = true; devices.graphics = { listen.type = "address"; - # gl.enable = true; + gl.enable = false; }; + devices.video.model.acceleration.accel3d = false; devices.interface = { - # model.type = "virtio"; - model.type = "e1000e"; + model.type = "virtio"; + # model.type = "e1000e"; type = "bridge"; mac.address = "52:54:00:b9:f3:ed"; source.bridge = "rz-0971"; @@ -47,6 +48,15 @@ with flakeInputs.nixVirt.lib; type = "unix"; target = { type = "virtio"; name = "org.qemu.guest_agent.0"; }; } + { + type = "spicevmc"; + target = { type = "virtio"; name = "com.redhat.spice.0"; }; + } + { + type = "spiceport"; + target = { type = "virtio"; name = "org.spice-space.webdav.0"; }; + source.channel = "org.spice-space.webdav.0"; + } ]; devices.tpm.model = "tpm-tis"; })); -- cgit v1.2.3