nixpkgs/doc/config-examples/x86_64-usbstick.nix
Eelco Dolstra a612fd0d5e * Obsoleted boot.initrd.extraKernelModules (use
boot.initrd.kernelModules instead).

svn path=/nixos/trunk/; revision=18969
2009-12-15 14:05:01 +00:00

28 lines
435 B
Nix

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