2024-12-18 09:40:11 +03:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
# Enable non-free firmware.
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
2024-03-04 00:34:39 +03:00
|
|
|
|
2024-12-18 09:40:11 +03:00
|
|
|
# Configure bootloader.
|
|
|
|
boot = {
|
|
|
|
tmp.useTmpfs = true;
|
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot = {
|
|
|
|
enable = true;
|
|
|
|
configurationLimit = 10;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
initrd = {
|
|
|
|
kernelModules = [ "dm-snapshot" ];
|
|
|
|
availableKernelModules = [
|
|
|
|
"ahci"
|
|
|
|
"ata_piix"
|
|
|
|
"mptspi"
|
|
|
|
"nvme"
|
|
|
|
"sd_mod"
|
|
|
|
"sr_mod"
|
|
|
|
"usb_storage"
|
|
|
|
"usbhid"
|
|
|
|
"xhci_pci"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-03-04 00:34:39 +03:00
|
|
|
}
|