Loading nixos/doc/manual/configuration/linux-kernel.chapter.md +6 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ abandoned by the kernel developers, even on stable NixOS versions. If you pin your kernel onto a non-longterm version, expect your evaluation to fail as soon as the version is out of maintenance. A kernel will be removed from nixpkgs when the first batch of stable kernels _after_ the final release is published. E.g. when 6.15.11 is the final release of the 6.15 series and is released together with 6.16.3 and 6.12.43, it will be removed on the release of 6.16.4 and 6.12.44. Custom kernel variants such as linux-hardened are also affected by this. Longterm versions of kernels will be removed before the next stable NixOS that will exceed the maintenance period of the kernel version. Loading nixos/tests/kernel-generic.nix +0 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ let kernels = pkgs.linuxKernel.vanillaPackages // { inherit (pkgs.linuxKernel.packages) linux_6_12_hardened linux_6_15_hardened linux_rt_5_4 linux_rt_5_10 linux_rt_5_15 Loading pkgs/os-specific/linux/kernel/hardened/patches.json +0 −10 Original line number Diff line number Diff line Loading @@ -8,15 +8,5 @@ }, "sha256": "09qfpxyxi3z8cd64r2r5mxvh54a5sx8p5mk4d50y4ga2k6pa66bb", "version": "6.12.41" }, "6.15": { "patch": { "extra": "-hardened1", "name": "linux-hardened-v6.15.9-hardened1.patch", "sha256": "132h0cgv8kzrlz7jprqvwcnragc2v793a759bhg0q6w3ninmncjc", "url": "https://github.com/anthraxx/linux-hardened/releases/download/v6.15.9-hardened1/linux-hardened-v6.15.9-hardened1.patch" }, "sha256": "0zcma8ycdwwzd4yci9752acsv85wh27lahclh5x2yc4jakw3lkz9", "version": "6.15.9" } } pkgs/os-specific/linux/kernel/kernels-org.json +0 −5 Original line number Diff line number Diff line Loading @@ -34,11 +34,6 @@ "hash": "sha256:1bmx2vpxy6nkxnmm2a3zmv9smaajfhvslj6id54j4yq2sc722l5n", "lts": true }, "6.15": { "version": "6.15.11", "hash": "sha256:14sxwrvw9p4ybizb8ky1rgahc62q0aw5qkmzqp3cpnavqfgldaw9", "lts": false }, "6.16": { "version": "6.16.4", "hash": "sha256:08mnd8qir2vxjmgblhnqfrfbv2zlig68f4r5askk7d8h3b3y79fn", Loading pkgs/top-level/linux-kernels.nix +4 −11 Original line number Diff line number Diff line Loading @@ -210,14 +210,6 @@ in ]; }; linux_6_15 = callPackage ../os-specific/linux/kernel/mainline.nix { branch = "6.15"; kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper ]; }; linux_6_16 = callPackage ../os-specific/linux/kernel/mainline.nix { branch = "6.16"; kernelPatches = [ Loading Loading @@ -295,7 +287,6 @@ in linux_latest_libre = deblobKernel packageAliases.linux_latest.kernel; linux_6_12_hardened = hardenedKernelFor kernels.linux_6_12 { }; linux_6_15_hardened = hardenedKernelFor kernels.linux_6_15 { }; linux_hardened = hardenedKernelFor packageAliases.linux_default.kernel { }; } Loading @@ -306,6 +297,7 @@ in linux_6_11 = throw "linux 6.11 was removed because it has reached its end of life upstream"; linux_6_13 = throw "linux 6.13 was removed because it has reached its end of life upstream"; linux_6_14 = throw "linux 6.14 was removed because it has reached its end of life upstream"; linux_6_15 = throw "linux 6.15 was removed because it has reached its end of life upstream"; linux_5_10_hardened = throw "linux_hardened on nixpkgs only contains latest stable and latest LTS"; linux_5_15_hardened = throw "linux_hardened on nixpkgs only contains latest stable and latest LTS"; Loading @@ -319,6 +311,7 @@ in linux_6_11_hardened = throw "linux 6.11 was removed because it has reached its end of life upstream"; linux_6_13_hardened = throw "linux 6.13 was removed because it has reached its end of life upstream"; linux_6_14_hardened = throw "linux 6.14 was removed because it has reached its end of life upstream"; linux_6_15_hardened = throw "linux 6.15 was removed because it has reached its end of life upstream"; linux_ham = throw "linux_ham has been removed in favour of the standard kernel packages"; } Loading Loading @@ -738,7 +731,6 @@ in linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1); linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6); linux_6_12 = recurseIntoAttrs (packagesFor kernels.linux_6_12); linux_6_15 = recurseIntoAttrs (packagesFor kernels.linux_6_15); linux_6_16 = recurseIntoAttrs (packagesFor kernels.linux_6_16); } // lib.optionalAttrs config.allowAliases { Loading @@ -748,6 +740,7 @@ in linux_6_11 = throw "linux 6.11 was removed because it reached its end of life upstream"; # Added 2025-03-23 linux_6_13 = throw "linux 6.13 was removed because it reached its end of life upstream"; # Added 2025-06-22 linux_6_14 = throw "linux 6.14 was removed because it reached its end of life upstream"; # Added 2025-06-22 linux_6_15 = throw "linux 6.15 was removed because it reached its end of life upstream"; # Added 2025-08-23 }; rtPackages = { Loading Loading @@ -778,7 +771,6 @@ in linux_hardened = recurseIntoAttrs (packagesFor kernels.linux_hardened); linux_6_12_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_12_hardened); linux_6_15_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_15_hardened); linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen); linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx); Loading @@ -805,6 +797,7 @@ in linux_6_11_hardened = throw "linux 6.11 was removed because it has reached its end of life upstream"; linux_6_13_hardened = throw "linux 6.13 was removed because it has reached its end of life upstream"; linux_6_14_hardened = throw "linux 6.14 was removed because it has reached its end of life upstream"; linux_6_15_hardened = throw "linux 6.15 was removed because it has reached its end of life upstream"; linux_ham = throw "linux_ham has been removed in favour of the standard kernel packages"; } ); Loading Loading
nixos/doc/manual/configuration/linux-kernel.chapter.md +6 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ abandoned by the kernel developers, even on stable NixOS versions. If you pin your kernel onto a non-longterm version, expect your evaluation to fail as soon as the version is out of maintenance. A kernel will be removed from nixpkgs when the first batch of stable kernels _after_ the final release is published. E.g. when 6.15.11 is the final release of the 6.15 series and is released together with 6.16.3 and 6.12.43, it will be removed on the release of 6.16.4 and 6.12.44. Custom kernel variants such as linux-hardened are also affected by this. Longterm versions of kernels will be removed before the next stable NixOS that will exceed the maintenance period of the kernel version. Loading
nixos/tests/kernel-generic.nix +0 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,6 @@ let kernels = pkgs.linuxKernel.vanillaPackages // { inherit (pkgs.linuxKernel.packages) linux_6_12_hardened linux_6_15_hardened linux_rt_5_4 linux_rt_5_10 linux_rt_5_15 Loading
pkgs/os-specific/linux/kernel/hardened/patches.json +0 −10 Original line number Diff line number Diff line Loading @@ -8,15 +8,5 @@ }, "sha256": "09qfpxyxi3z8cd64r2r5mxvh54a5sx8p5mk4d50y4ga2k6pa66bb", "version": "6.12.41" }, "6.15": { "patch": { "extra": "-hardened1", "name": "linux-hardened-v6.15.9-hardened1.patch", "sha256": "132h0cgv8kzrlz7jprqvwcnragc2v793a759bhg0q6w3ninmncjc", "url": "https://github.com/anthraxx/linux-hardened/releases/download/v6.15.9-hardened1/linux-hardened-v6.15.9-hardened1.patch" }, "sha256": "0zcma8ycdwwzd4yci9752acsv85wh27lahclh5x2yc4jakw3lkz9", "version": "6.15.9" } }
pkgs/os-specific/linux/kernel/kernels-org.json +0 −5 Original line number Diff line number Diff line Loading @@ -34,11 +34,6 @@ "hash": "sha256:1bmx2vpxy6nkxnmm2a3zmv9smaajfhvslj6id54j4yq2sc722l5n", "lts": true }, "6.15": { "version": "6.15.11", "hash": "sha256:14sxwrvw9p4ybizb8ky1rgahc62q0aw5qkmzqp3cpnavqfgldaw9", "lts": false }, "6.16": { "version": "6.16.4", "hash": "sha256:08mnd8qir2vxjmgblhnqfrfbv2zlig68f4r5askk7d8h3b3y79fn", Loading
pkgs/top-level/linux-kernels.nix +4 −11 Original line number Diff line number Diff line Loading @@ -210,14 +210,6 @@ in ]; }; linux_6_15 = callPackage ../os-specific/linux/kernel/mainline.nix { branch = "6.15"; kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper ]; }; linux_6_16 = callPackage ../os-specific/linux/kernel/mainline.nix { branch = "6.16"; kernelPatches = [ Loading Loading @@ -295,7 +287,6 @@ in linux_latest_libre = deblobKernel packageAliases.linux_latest.kernel; linux_6_12_hardened = hardenedKernelFor kernels.linux_6_12 { }; linux_6_15_hardened = hardenedKernelFor kernels.linux_6_15 { }; linux_hardened = hardenedKernelFor packageAliases.linux_default.kernel { }; } Loading @@ -306,6 +297,7 @@ in linux_6_11 = throw "linux 6.11 was removed because it has reached its end of life upstream"; linux_6_13 = throw "linux 6.13 was removed because it has reached its end of life upstream"; linux_6_14 = throw "linux 6.14 was removed because it has reached its end of life upstream"; linux_6_15 = throw "linux 6.15 was removed because it has reached its end of life upstream"; linux_5_10_hardened = throw "linux_hardened on nixpkgs only contains latest stable and latest LTS"; linux_5_15_hardened = throw "linux_hardened on nixpkgs only contains latest stable and latest LTS"; Loading @@ -319,6 +311,7 @@ in linux_6_11_hardened = throw "linux 6.11 was removed because it has reached its end of life upstream"; linux_6_13_hardened = throw "linux 6.13 was removed because it has reached its end of life upstream"; linux_6_14_hardened = throw "linux 6.14 was removed because it has reached its end of life upstream"; linux_6_15_hardened = throw "linux 6.15 was removed because it has reached its end of life upstream"; linux_ham = throw "linux_ham has been removed in favour of the standard kernel packages"; } Loading Loading @@ -738,7 +731,6 @@ in linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1); linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6); linux_6_12 = recurseIntoAttrs (packagesFor kernels.linux_6_12); linux_6_15 = recurseIntoAttrs (packagesFor kernels.linux_6_15); linux_6_16 = recurseIntoAttrs (packagesFor kernels.linux_6_16); } // lib.optionalAttrs config.allowAliases { Loading @@ -748,6 +740,7 @@ in linux_6_11 = throw "linux 6.11 was removed because it reached its end of life upstream"; # Added 2025-03-23 linux_6_13 = throw "linux 6.13 was removed because it reached its end of life upstream"; # Added 2025-06-22 linux_6_14 = throw "linux 6.14 was removed because it reached its end of life upstream"; # Added 2025-06-22 linux_6_15 = throw "linux 6.15 was removed because it reached its end of life upstream"; # Added 2025-08-23 }; rtPackages = { Loading Loading @@ -778,7 +771,6 @@ in linux_hardened = recurseIntoAttrs (packagesFor kernels.linux_hardened); linux_6_12_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_12_hardened); linux_6_15_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_15_hardened); linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen); linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx); Loading @@ -805,6 +797,7 @@ in linux_6_11_hardened = throw "linux 6.11 was removed because it has reached its end of life upstream"; linux_6_13_hardened = throw "linux 6.13 was removed because it has reached its end of life upstream"; linux_6_14_hardened = throw "linux 6.14 was removed because it has reached its end of life upstream"; linux_6_15_hardened = throw "linux 6.15 was removed because it has reached its end of life upstream"; linux_ham = throw "linux_ham has been removed in favour of the standard kernel packages"; } ); Loading