about summary refs log tree commit diff
path: root/third_party/nix/test-vm.nix
blob: 534a3fc9304ccd1a0573f60799f1590cc7313aef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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