This commit is contained in:
2025-05-15 20:58:38 -06:00
parent bdcb7ce15a
commit 313f581616
3 changed files with 20 additions and 8 deletions

View File

@@ -165,15 +165,17 @@
};
# not working yet, in theory simplifies xml for vm
environment.etc = {
"ovmf/edk2-x86_64-secure-code.fd" = {
source = config.virtualisation.libvirtd.qemu.package + "/share/qemu/edk2-x86_64-secure-code.fd";
};
# environment.etc = {
# "ovmf/edk2-x86_64-secure-code.fd" = {
# source = config.virtualisation.libvirtd.qemu.package + "/share/qemu/edk2-x86_64-secure-code.fd";
# };
"ovmf/edk2-i386-vars.fd" = {
source = config.virtualisation.libvirtd.qemu.package + "/share/qemu/edk2-i386-vars.fd";
};
};
# "ovmf/edk2-i386-vars.fd" = {
# source = config.virtualisation.libvirtd.qemu.package + "/share/qemu/edk2-i386-vars.fd";
# };
# };
environment.etc."qemu/edk2-x86_64-secure-code.fd".source = "${pkgs.OVMF.fd}/FV/OVMF_CODE.secboot.fd";
environment.etc."qemu/edk2-i386-vars.fd".source = "${pkgs.OVMF.fd}/FV/OVMF_VARS.fd";
powerManagement.powertop.enable = true;
powerManagement.enable = true;