From 5bf2a29bce483a42339b9b64cd93be6bbc4c9227 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 13:28:50 +0100 Subject: [PATCH] Setup spice --- system/shared.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/system/shared.nix b/system/shared.nix index cd848bd..70a229f 100644 --- a/system/shared.nix +++ b/system/shared.nix @@ -144,6 +144,11 @@ docker gnome.gnome-keyring libuuid + spice + spice-gtk + spice-protocol + win-virtio + win-spice ]; sessionVariables = { @@ -153,7 +158,14 @@ virtualisation = { docker.enable = true; - libvirtd.enable = true; + libvirtd = { + enable = true; + qemu = { + swtpm.enable = true; + ovmf.enable = true; + ovmf.packages = [ pkgs.OVMFFull.fd ]; + }; + }; }; xdg.portal = {