nixpkgs/tests/test-nixos-install-from-cd/configuration.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

29 lines
486 B
Nix

# configuration being installed by NixOS kvm installation test
{pkgs, config, ...}: {
# make system boot and accessible:
require = [
./module-insecure.nix
];
boot.loader.grub = {
device = "/dev/sda";
copyKernels = false;
bootDevice = "(hd0,0)";
};
fileSystems = [
{ mountPoint = "/";
device = "/dev/sda1";
neededForBoot = true;
}
];
swapDevices = [ { device = "/dev/sda2"; } ];
fonts = {
enableFontConfig = false;
};
}