Bootloader : Refactor.

This commit is contained in:
Dmitry Voronin 2024-04-14 22:58:11 +03:00
parent 7be39bb2bb
commit 9082764b58
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -3,11 +3,22 @@
hardware.enableRedistributableFirmware = true;
# Configure bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.configurationLimit = 7;
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.initrd.availableKernelModules = [
boot = {
loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
configurationLimit = 7;
};
};
tmp.useTmpfs = true;
initrd = {
kernelModules = [
"dm-snapshot"
];
availableKernelModules = [
"ahci"
"ata_piix"
"mptspi"
@ -18,7 +29,6 @@
"usbhid"
"xhci_pci"
];
# /tmp on tmpfs.
boot.tmp.useTmpfs = true;
};
};
}