1
0
mirror of https://github.com/tboerger/nixos-config synced 2026-07-23 05:34:54 +02:00
Files
2026-02-26 14:26:50 +01:00

56 lines
864 B
Nix

{
config,
lib,
pkgs,
...
}:
{
boot = {
binfmt = {
emulatedSystems = [
"aarch64-linux"
];
};
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
tmp = {
cleanOnBoot = true;
};
loader = {
efi = {
canTouchEfiVariables = true;
};
systemd-boot = {
enable = true;
consoleMode = "2";
configurationLimit = 5;
editor = false;
};
};
kernelModules = [
"kvm-intel"
"wl"
];
extraModulePackages = with config.boot.kernelPackages; [ broadcom_sta ];
initrd = {
availableKernelModules = [
"uhci_hcd"
"ehci_pci"
"ahci"
"firewire_ohci"
"usbhid"
"usb_storage"
"sd_mod"
"sdhci_pci"
];
kernelModules = [ "dm-snapshot" ];
};
};
}