2020-07-25 03:03:42 +02:00
|
|
|
{ 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" ];
|
2020-09-01 02:58:16 +02:00
|
|
|
|
|
|
|
nix.nixPath = [
|
|
|
|
"depot=${depot.depotPath}"
|
|
|
|
];
|
2020-07-25 03:03:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
system = pkgs.nixos { inherit configuration; };
|
|
|
|
|
|
|
|
in system.vm
|