24 lines
369 B
Nix
Executable File
24 lines
369 B
Nix
Executable File
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-zen4;
|
|
in
|
|
{
|
|
boot = {
|
|
inherit kernelPackages;
|
|
|
|
kernelParams = [ "amd_iommu=on" ];
|
|
|
|
initrd = {
|
|
supportedFilesystems = {
|
|
bcachefs = true;
|
|
};
|
|
};
|
|
|
|
# Enable binfmt emulation for ARM
|
|
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
};
|
|
}
|