29 lines
610 B
Nix
29 lines
610 B
Nix
{
|
|
modulesPath,
|
|
...
|
|
}:
|
|
{
|
|
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
|
|
|
# === Boot options ===
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "ehci_pci" "ahci" "usbhid" "uas" "usb_storage" "sd_mod"];
|
|
boot.initrd.kernelModules = [];
|
|
boot.kernelModules = ["kvm-intel"];
|
|
boot.extraModulePackages = [];
|
|
|
|
# === Internal drive ===
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-label/root";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-label/esp";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
swapDevices = [
|
|
{device = "/dev/disk/by-label/swap";}
|
|
];
|
|
}
|