0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 08:31:01 +03:00
nixpkgs/configuration/examples/x86_64-usbstick.nix

28 lines
440 B
Nix
Raw Normal View History

# 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;
};
}