home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 89ec53e4b615e6c4e06d1f34b4b1a0331bf638a4
parent 5cde083268942da916e229876b9ed51bd6cc968d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue,  2 Jan 2024 12:53:09 +0100

livirt: add qemuOvmf (uefi support)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/modules/virtualisation/libvirt.nix | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/systems/modules/virtualisation/libvirt.nix b/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 ]; }