nixpkgs/doc/config-examples/x86_64-usbstick.nix
Eelco Dolstra 8c2fd764e2 * Move the configuration examples to doc/.
svn path=/nixos/trunk/; revision=12723
2008-08-26 13:01:16 +00:00

28 lines
440 B
Nix

# Configuration file used to install NixOS-x86_64 on a USB stick.
{
boot = {
grubDevice = "/dev/sda";
initrd = {
extraKernelModules = ["usb_storage" "ehci_hcd" "ohci_hcd"];
enableSplashScreen = false;
};
};
fileSystems = [
{ mountPoint = "/";
label = "nixos-usb";
}
];
services = {
ttyBackgrounds = {
enable = false;
};
};
fonts = {
enableFontConfig = false;
};
}