From 5446d3aaceb5c24c070d0a31bc3704a3cc313dfd Mon Sep 17 00:00:00 2001 From: Stefan Schwarz Date: Fri, 15 Mar 2024 11:15:40 +0100 Subject: [PATCH] libvirt uefi still not working --- roles/admin.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/roles/admin.nix b/roles/admin.nix index 0e76052..541f26b 100644 --- a/roles/admin.nix +++ b/roles/admin.nix @@ -1,6 +1,7 @@ { pkgs, options, ... }: -let unstable = import { }; +let +unstable = import { config.allowUnfree = true; }; in { environment.systemPackages = with pkgs; [ cryptsetup @@ -42,5 +43,11 @@ in { enable = true; storageDriver = "zfs"; }; - virtualisation.libvirtd.enable = true; + virtualisation.libvirtd = { + enable = true; + qemu = { + swtpm.enable = true; + ovmf.enable = true; + }; + }; }