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 = [
|
|
|
|
"depot=${depot.depotPath}"
|
|
|
|
];
|
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
|