ovmf
This commit is contained in:
@@ -167,7 +167,6 @@
|
|||||||
package = pkgs.qemu_kvm;
|
package = pkgs.qemu_kvm;
|
||||||
runAsRoot = true;
|
runAsRoot = true;
|
||||||
swtpm.enable = true;
|
swtpm.enable = true;
|
||||||
ovmfPackages = [ pkgs.OVMFFull.fd ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
networking.interfaces.enp5s0.useDHCP = true;
|
networking.interfaces.enp5s0.useDHCP = true;
|
||||||
@@ -187,9 +186,9 @@
|
|||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"qemu/edk2-x86_64-secure-code.fd".source =
|
"qemu/edk2-x86_64-secure-code.fd".source =
|
||||||
lib.mkForce "${pkgs.OVMF.fd}/FV/OVMF_CODE.ms.fd";
|
lib.mkForce "${pkgs.OVMFFull.fd}/FV/OVMF_CODE.ms.fd";
|
||||||
"qemu/edk2-x86_64-secure-vars.fd".source =
|
"qemu/edk2-x86_64-secure-vars.fd".source =
|
||||||
lib.mkForce "${pkgs.OVMF.fd}/FV/OVMF_VARS.ms.fd";
|
lib.mkForce "${pkgs.OVMFFull.fd}/FV/OVMF_VARS.ms.fd";
|
||||||
};
|
};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /var/lib/libvirt/qemu/nvram 0755 root root -"
|
"d /var/lib/libvirt/qemu/nvram 0755 root root -"
|
||||||
|
|||||||
Reference in New Issue
Block a user