1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00
github.com-tboerger-nixos-c.../desktops/anubis/boot.nix
2022-11-22 11:12:50 +01:00

36 lines
644 B
Nix

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