3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/doc/config-examples/x86_64-usbstick.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;
};
}