NixOS-Config/hosts/extern/boot/default.nix
2024-12-16 12:11:12 -05:00

13 lines
309 B
Nix

{ pkgs, lib, ... }:
{
boot = {
kernelPackages = pkgs.unstable.linuxPackages_latest;
blacklistedKernelModules = [ "pcspkr" ];
};
# Kernel that won't explode the MacBook Air
specialisation.oldkernel.configuration.config = {
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_5_10;
};
}