1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 12:42:01 +01:00
github.com-tboerger-nixos-c.../machines/chnum/boot.nix
2022-09-28 22:28:36 +02:00

49 lines
705 B
Nix

{ config, lib, pkgs, ... }:
{
boot = {
binfmt = {
emulatedSystems = [
"aarch64-linux"
"armv6l-linux"
];
};
kernelPackages = lib.mkDefault pkgs.linuxPackages;
cleanTmpDir = true;
loader = {
efi = {
canTouchEfiVariables = true;
};
systemd-boot = {
enable = true;
consoleMode = "2";
editor = false;
};
};
kernelModules = [
"kvm-intel"
];
extraModulePackages = [
];
initrd = {
availableKernelModules = [
"xhci_pci"
"ahci"
"sd_mod"
"rtsx_pci_sdmmc"
];
kernelModules = [
"dm-snapshot"
];
};
};
}