Commit 89ec53e4b615

Vincent Demeester <vincent@sbr.pm>
2024-01-02 12:53:09
livirt: add qemuOvmf (uefi support)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 5cde083
Changed files (1)
systems
modules
virtualisation
systems/modules/virtualisation/libvirt.nix
@@ -12,7 +12,11 @@ in
   };
   config = mkIf cfg.enable (mkMerge [
     {
-      virtualisation.libvirtd.enable = true;
+      virtualisation.libvirtd = {
+        enable = true;
+        # Used for UEFI boot of Home Assistant OS guest image
+        qemuOvmf = true;
+      };
       security.polkit.enable = true; # 22.11: libvirtd requires poltkit to be enabled
       environment.systemPackages = with pkgs; [ qemu vde2 libosinfo ];
     }