update kernel to 6.15 and use acer-wmi-ext module

This commit is contained in:
2025-08-10 04:18:21 +02:00
parent bb7ada0347
commit a2335f453a
5 changed files with 119 additions and 15 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ rec {
# Kernel
# boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_12;
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_15;
# Swap
zramSwap = {
@@ -96,11 +96,11 @@ rec {
boot.extraModulePackages = [
# Super ugly hack, for some reason it's not included in pkgs.linuxKernel.packages.linux_6_12
# Despite being in overlays, something's not working
(pkgs.linuxPackages.acer-wmi-battery.override {
(pkgs.linuxPackages.acer-wmi-ext.override {
kernel = boot.kernelPackages.kernel;
})
];
boot.kernelModules = [ "acer-wmi-battery" ];
boot.kernelModules = [ "acer-wmi-ext" ];
# This value determines the NixOS release from which the default