From ab5a68ce9d637a885b1dc58d6d98ff86ba445e4e Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sat, 16 Dec 2023 21:44:05 +0800 Subject: [PATCH] feat: change linux kernel to xanmod --- hosts/idols/ai/hardware-configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/idols/ai/hardware-configuration.nix b/hosts/idols/ai/hardware-configuration.nix index f7abaeaf..aa8d10cf 100644 --- a/hosts/idols/ai/hardware-configuration.nix +++ b/hosts/idols/ai/hardware-configuration.nix @@ -18,6 +18,10 @@ boot.loader.efi.efiSysMountPoint = "/boot"; boot.loader.systemd-boot.enable = true; + + # boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-intel"];