32 lines
587 B
Nix
32 lines
587 B
Nix
{ modulesPath, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot = {
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"xhci_pci"
|
|
"ehci_pci"
|
|
"ahci"
|
|
"usb_storage"
|
|
"usbhid"
|
|
"sd_mod"
|
|
"aesni_intel"
|
|
"cryptd"
|
|
];
|
|
kernelModules = [ "dm-snapshot" ];
|
|
};
|
|
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
systemd-boot.configurationLimit = 20;
|
|
efi.efiSysMountPoint = "/boot";
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
};
|
|
}
|