mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-23 12:42:01 +01:00
49 lines
705 B
Nix
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"
|
|
];
|
|
};
|
|
};
|
|
}
|