tvl-depot/third_party/nix/test-vm.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
331 B
Nix
Raw Normal View History

{ depot, pkgs, ... }:
let
configuration = { ... }: {
imports = [
"${pkgs.nixpkgsSrc}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
];
nix.package = depot.third_party.nix;
virtualisation.qemu.options = [ "-nographic" ];
};
system = pkgs.nixos { inherit configuration; };
in system.vm