use nixpkgs aavmf

This commit is contained in:
Dmitriy Kholkin 2025-02-12 22:04:32 +03:00
parent 91e32fc2ae
commit fbb7636bff
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -77,16 +77,5 @@ with config.deviceSpecific; {
"/var/lib/libvirt"
"/var/lib/containers"
];
# cross compilation of aarch64 uefi currently broken
# link existing extracted from fedora package
system.activationScripts.aarch64-ovmf = lib.mkIf (!isServer) {
text = ''
rm -f /run/libvirt/nix-ovmf/AAVMF_*
mkdir -p /run/libvirt/nix-ovmf || true
${pkgs.zstd}/bin/zstd -d ${../misc/AAVMF_CODE.fd.zst} -o /run/libvirt/nix-ovmf/AAVMF_CODE.fd
${pkgs.zstd}/bin/zstd -d ${../misc/AAVMF_VARS.fd.zst} -o /run/libvirt/nix-ovmf/AAVMF_VARS.fd
'';
};
};
}