mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-23 03:32:08 +01:00
36 lines
589 B
Nix
36 lines
589 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 = [ ];
|
|
kernelModules = [ "dm-snapshot" ];
|
|
};
|
|
};
|
|
}
|