nixpkgs/tests/test-nixos-install-from-cd/configuration-iso.nix
Marc Weber 4b5864666e * refactoring kvm test and bootstrapping image.
expose makeInfo (used by test now)
  expose config hack
* Adding tests to release.nix
* fixes
* removing dependency on perl

refactoring details:
Move all configuration modules used by the NixOS installation test script
into one directory.

svn path=/nixos/trunk/; revision=18982
2009-12-15 23:26:52 +00:00

27 lines
608 B
Nix

# 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
doOverride = pkgs.lib.mkOverride 0 {};
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;
}