2022-06-05 22:54:46 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
boot = {
|
2022-09-28 13:54:01 +02:00
|
|
|
binfmt = {
|
|
|
|
emulatedSystems = [
|
|
|
|
"aarch64-linux"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-01-30 14:00:15 +01:00
|
|
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
|
|
|
|
|
|
|
tmp = {
|
|
|
|
cleanOnBoot = true;
|
|
|
|
};
|
2022-06-05 22:54:46 +02:00
|
|
|
|
|
|
|
loader = {
|
|
|
|
efi = {
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
|
2022-11-06 23:04:52 +01:00
|
|
|
systemd-boot = {
|
2022-06-05 22:54:46 +02:00
|
|
|
enable = true;
|
2022-11-06 23:04:52 +01:00
|
|
|
consoleMode = "2";
|
|
|
|
configurationLimit = 5;
|
|
|
|
editor = false;
|
2022-06-05 22:54:46 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-11-06 23:04:52 +01:00
|
|
|
kernelModules = [ "kvm-intel" "wl" ];
|
2024-01-30 14:00:15 +01:00
|
|
|
extraModulePackages = with config.boot.kernelPackages; [ broadcom_sta ];
|
2022-09-27 22:07:46 +02:00
|
|
|
|
2022-06-05 22:54:46 +02:00
|
|
|
initrd = {
|
2022-11-06 23:04:52 +01:00
|
|
|
availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "firewire_ohci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
|
|
kernelModules = [ "dm-snapshot" ];
|
2022-06-05 22:54:46 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|