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

{ config ? import ../../nix/eval-config.nix {} }:

with config.pkgs;

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

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