summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accounts/gkleen@sif/libvirt/default.nix20
1 files changed, 15 insertions, 5 deletions
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;
16 memory = { count = 16; unit = "GiB"; }; 16 memory = { count = 16; unit = "GiB"; };
17 storage_vol = "/home/gkleen/.local/share/libvirt/images/lmmirzm-vmrz01.qcow2"; 17 storage_vol = "/home/gkleen/.local/share/libvirt/images/lmmirzm-vmrz01.qcow2";
18 nvram_path = "/home/gkleen/.local/share/libvirt/lmmirzm-vmrz01.nvram"; 18 nvram_path = "/home/gkleen/.local/share/libvirt/lmmirzm-vmrz01.nvram";
19 virtio_drive = false; 19 virtio_drive = true;
20 virtio_video = false; 20 virtio_video = true;
21 install_virtio = false; 21 install_virtio = false;
22 }) { 22 }) {
23 qemu-commandline.env = [ 23 qemu-commandline.env = [
@@ -33,11 +33,12 @@ with flakeInputs.nixVirt.lib;
33 os.bootmenu.enable = true; 33 os.bootmenu.enable = true;
34 devices.graphics = { 34 devices.graphics = {
35 listen.type = "address"; 35 listen.type = "address";
36 # gl.enable = true; 36 gl.enable = false;
37 }; 37 };
38 devices.video.model.acceleration.accel3d = false;
38 devices.interface = { 39 devices.interface = {
39 # model.type = "virtio"; 40 model.type = "virtio";
40 model.type = "e1000e"; 41 # model.type = "e1000e";
41 type = "bridge"; 42 type = "bridge";
42 mac.address = "52:54:00:b9:f3:ed"; 43 mac.address = "52:54:00:b9:f3:ed";
43 source.bridge = "rz-0971"; 44 source.bridge = "rz-0971";
@@ -47,6 +48,15 @@ with flakeInputs.nixVirt.lib;
47 type = "unix"; 48 type = "unix";
48 target = { type = "virtio"; name = "org.qemu.guest_agent.0"; }; 49 target = { type = "virtio"; name = "org.qemu.guest_agent.0"; };
49 } 50 }
51 {
52 type = "spicevmc";
53 target = { type = "virtio"; name = "com.redhat.spice.0"; };
54 }
55 {
56 type = "spiceport";
57 target = { type = "virtio"; name = "org.spice-space.webdav.0"; };
58 source.channel = "org.spice-space.webdav.0";
59 }
50 ]; 60 ];
51 devices.tpm.model = "tpm-tis"; 61 devices.tpm.model = "tpm-tis";
52 })); 62 }));