Skip to content

Instantly share code, notes, and snippets.

@baloo
Created February 10, 2020 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baloo/574dbf8b8d58fd8f2a13f52f9af74c5e to your computer and use it in GitHub Desktop.
Save baloo/574dbf8b8d58fd8f2a13f52f9af74c5e to your computer and use it in GitHub Desktop.
{ system ? builtins.currentSystem }:
let
pkgs = import <nixpkgs> { inherit system; };
cpkgs = import <custompkgs> {};
ovmf = pkgs.OVMF-secureBoot;
in pkgs.mkShell {
buildInputs = [
cpkgs.swtpm
cpkgs.qemu
ovmf
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment