NixOS-Config/hosts/extern/boot/default.nix

13 lines
309 B
Nix
Raw Normal View History

2024-12-15 17:51:29 -05:00
{ pkgs, lib, ... }:
{
boot = {
kernelPackages = pkgs.unstable.linuxPackages_latest;
blacklistedKernelModules = [ "pcspkr" ];
};
2024-12-15 17:51:29 -05:00
# Kernel that won't explode the MacBook Air
2024-12-16 12:11:12 -05:00
specialisation.oldkernel.configuration.config = {
2024-12-15 17:51:29 -05:00
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_5_10;
};
}