Created
September 22, 2019 02:27
-
-
Save frio/da1161b61606e89012a77ad7032e6dac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
boot.initrd.availableKernelModules = [ | |
"xhci_pci" | |
"ehci_pci" | |
"ahci" | |
"usbhid" | |
"usb_storage" | |
"sd_mod" | |
"sdhci_pci" | |
"cryptd" | |
]; | |
# boot.extraModulePackages = [ ]; | |
nixpkgs.config.packageOverrides = pkgs: rec { | |
linux_5_2_ck = let old = pkgs.linux_5_2; in old.override { | |
# passthru = old.passthru; | |
modDirVersionArg = "5.2.16-ck1"; | |
kernelPatches = old.kernelPatches ++ [ | |
{ | |
name = "ck"; | |
patch = ./patches/5.2-ck1.patch; | |
} | |
]; | |
}; | |
linuxPackages_5_2_ck = pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linux_5_2_ck); | |
}; | |
boot.kernelPackages = pkgs.linuxPackages_5_2_ck; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment