2020-07-25 03:03:42 +02:00
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
configuration = { ... }: {
|
|
|
|
imports = [
|
2021-04-10 18:05:16 +02:00
|
|
|
"${pkgs.path}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
2020-07-25 03:03:42 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
nix.package = depot.third_party.nix;
|
|
|
|
|
2020-11-27 19:49:24 +01:00
|
|
|
virtualisation.qemu.options = [ "-nographic" "-curses" ];
|
2020-09-01 02:58:16 +02:00
|
|
|
|
|
|
|
nix.nixPath = [
|
2021-04-12 22:26:55 +02:00
|
|
|
"depot=${depot.path}"
|
2020-09-01 02:58:16 +02:00
|
|
|
];
|
2020-07-25 03:03:42 +02:00
|
|
|
};
|
|
|
|
|
2021-04-10 18:05:16 +02:00
|
|
|
system = depot.third_party.nixos { inherit configuration; };
|
2020-07-25 03:03:42 +02:00
|
|
|
in system.vm
|