libvirt uefi

still not working
This commit is contained in:
Stefan Schwarz 2024-03-15 11:15:40 +01:00
parent 6a911794f1
commit 5446d3aace

View file

@ -1,6 +1,7 @@
{ pkgs, options, ... }:
let unstable = import <nixos-unstable> { };
let
unstable = import <nixos-unstable> { 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;
};
};
}