about summary refs log tree commit diff
path: root/users/glittershark/system/system
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-08-17T01·10+0100
committertazjin <mail@tazj.in>2020-08-17T09·54+0000
commit711a20620d058c1c2f5329ea11b82ab465e450c7 (patch)
treef778f4cda4f38daf11b31f12cdea1246390ecd30 /users/glittershark/system/system
parentd29bb5cbf842b92c4018e83d9e238886f9f4a930 (diff)
feat(glittershark/kernel): Use linuxPackages_latest r/1661
Welcome to the future, baby!

Change-Id: I23124d27df1f7597dbd2b28afd5882e62085665e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1763
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/system/system')
-rw-r--r--users/glittershark/system/system/modules/kernel.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/users/glittershark/system/system/modules/kernel.nix b/users/glittershark/system/system/modules/kernel.nix
index bad6845ff769..703af51a9f71 100644
--- a/users/glittershark/system/system/modules/kernel.nix
+++ b/users/glittershark/system/system/modules/kernel.nix
@@ -2,19 +2,19 @@
 with lib.versions;
 let
   inherit (pkgs) runCommand;
-  kernelRelease = config.linuxPackages.kernel.version or pkgs.linux.version;
+  kernelRelease = config.boot.kernelPackages.kernel.version;
   mj = major kernelRelease;
   mm = majorMinor kernelRelease;
   linux-ck = runCommand "linux-ck-combined.patch" {} ''
     ${pkgs.xz}/bin/unxz -kfdc ${builtins.fetchurl {
-      # http://ck.kolivas.org/patches/5.0/5.4/5.4-ck1/patch-5.4-ck1.xz
+      # example: http://ck.kolivas.org/patches/5.0/5.4/5.4-ck1/patch-5.4-ck1.xz
       url = "http://ck.kolivas.org/patches/${mj}.0/${mm}/${mm}-ck1/patch-${mm}-ck1.xz";
-      sha256 = "0p2ccwlsmq0587x6cnbrk4h2bwpl9342bmhsbyi1a87cs2jfwigl";
+      sha256 = "01jyg9x2ligr0gjic8lg4f7hw3isz94kqwdbzdk9n8nghklh38p4";
     }} > $out
   '';
 in
 {
-  boot.kernelPackages = pkgs.linuxPackages.extend (self: super: {
+  boot.kernelPackages = pkgs.linuxPackages_latest.extend (self: super: {
     kernel = super.kernel.override {
       ignoreConfigErrors = true;
       kernelPatches = super.kernel.kernelPatches ++ [{