summary refs log tree commit diff
path: root/img/live/shell.nix
blob: b9f0246f0125e82b91ff38aa928d97805ab2bf79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>

{ pkgs ? import <nixpkgs> {} }:

with pkgs;

(import ./. { inherit pkgs; }).overrideAttrs ({ nativeBuildInputs ? [], ... }: {
  nativeBuildInputs = nativeBuildInputs ++ [ qemu_kvm ];

  OVMF_CODE = "${qemu_kvm}/share/qemu/edk2-${stdenv.hostPlatform.qemuArch}-code.fd";
})