mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
28 lines
443 B
Nix
28 lines
443 B
Nix
# Configuration file used to install NixOS-x86_64 on a USB stick.
|
|
|
|
{
|
|
boot = {
|
|
loader.grub.device = "/dev/sda";
|
|
initrd = {
|
|
kernelModules = ["usb_storage" "ehci_hcd" "ohci_hcd"];
|
|
enableSplashScreen = false;
|
|
};
|
|
};
|
|
|
|
fileSystems = [
|
|
{ mountPoint = "/";
|
|
label = "nixos-usb";
|
|
}
|
|
];
|
|
|
|
services = {
|
|
ttyBackgrounds = {
|
|
enable = false;
|
|
};
|
|
};
|
|
|
|
fonts = {
|
|
enableFontConfig = false;
|
|
};
|
|
}
|