You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
588 B

{ configuration ? import ./lib/from-env.nix "NIXOS_CONFIG" /etc/nixos/configuration.nix
}:
let
eval = import ./lib/eval-config.nix { modules = [ configuration ]; };
inherit (eval) config pkgs;
vmConfig = (import ./lib/eval-config.nix {
modules = [ configuration ./modules/virtualisation/qemu-vm.nix ];
}).config;
in
{
inherit eval config;
system = config.system.build.system;
vm = vmConfig.system.build.vm;
# The following are used by nixos-rebuild.
nixFallback = pkgs.nixUnstable;
manifests = config.installer.manifests;
tests = config.tests;
}