mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
21 lines
336 B
Nix
21 lines
336 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"];
|
|
};
|
|
};
|
|
|
|
fileSystems = [
|
|
{ mountPoint = "/";
|
|
label = "nixos-usb";
|
|
}
|
|
];
|
|
|
|
fonts = {
|
|
enableFontConfig = false;
|
|
};
|
|
}
|