2009-12-16 00:26:52 +01:00
|
|
|
# configuration being installed by NixOS kvm installation test
|
2009-12-11 01:51:13 +01:00
|
|
|
{pkgs, config, ...}: {
|
|
|
|
|
|
|
|
# make system boot and accessible:
|
2009-12-16 00:26:52 +01:00
|
|
|
require = [
|
|
|
|
./module-insecure.nix
|
|
|
|
];
|
2009-12-11 01:51:13 +01:00
|
|
|
|
|
|
|
boot.loader.grub = {
|
|
|
|
device = "/dev/sda";
|
2009-12-15 07:37:32 +01:00
|
|
|
copyKernels = false;
|
2009-12-11 01:51:13 +01:00
|
|
|
bootDevice = "(hd0,0)";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems = [
|
|
|
|
{ mountPoint = "/";
|
|
|
|
device = "/dev/sda1";
|
|
|
|
neededForBoot = true;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2009-12-16 00:26:52 +01:00
|
|
|
swapDevices = [ { device = "/dev/sda2"; } ];
|
|
|
|
|
2009-12-11 01:51:13 +01:00
|
|
|
fonts = {
|
|
|
|
enableFontConfig = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|