2009-12-15 23:26:52 +00:00
|
|
|
# configuration used to build ISO used to install NixOS when running NixOS kvm installation test
|
|
|
|
|
|
|
|
# The configuration is prebuild before starting the vm because starting the vm
|
|
|
|
# causes some overhead.
|
|
|
|
{pkgs, config, ...}:
|
|
|
|
|
|
|
|
let
|
2010-09-03 20:10:59 +01:00
|
|
|
doOverride = pkgs.lib.mkOverrideTemplate 0 {};
|
2009-12-15 23:26:52 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# make system boot and accessible:
|
|
|
|
require = [ ./module-insecure.nix
|
|
|
|
../../modules/installer/cd-dvd/installation-cd-minimal.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
fonts = {
|
|
|
|
enableFontConfig = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.loader.grub.timeout = doOverride 0;
|
|
|
|
boot.loader.grub.default = 2;
|
|
|
|
boot.loader.grub.version = doOverride 2;
|
|
|
|
|
|
|
|
}
|