From ae493e85606dedbf147d0a8ab503fa14d715563d Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Sun, 29 Jun 2025 12:37:39 -0300 Subject: [PATCH 01/22] cosmic-ext-applet-external-monitor-brightness: init at 0.0.1-unstable-2025-08-05 --- .../package.nix | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 pkgs/by-name/co/cosmic-ext-applet-external-monitor-brightness/package.nix diff --git a/pkgs/by-name/co/cosmic-ext-applet-external-monitor-brightness/package.nix b/pkgs/by-name/co/cosmic-ext-applet-external-monitor-brightness/package.nix new file mode 100644 index 000000000000..b1d0bcb8a794 --- /dev/null +++ b/pkgs/by-name/co/cosmic-ext-applet-external-monitor-brightness/package.nix @@ -0,0 +1,60 @@ +{ + lib, + stdenv, + rustPlatform, + fetchFromGitHub, + libcosmicAppHook, + just, + pkg-config, + udev, + nix-update-script, +}: +rustPlatform.buildRustPackage { + pname = "cosmic-ext-applet-external-monitor-brightness"; + version = "0.0.1-unstable-2025-08-05"; + + src = fetchFromGitHub { + owner = "cosmic-utils"; + repo = "cosmic-ext-applet-external-monitor-brightness"; + rev = "23104965bd9ab1988b040a60f3f1e5d64038e7ce"; + hash = "sha256-+Hu9bLEbue9bXaGfKa3InhdFI6qsBxccyQY8qzBYFPk="; + }; + + cargoHash = "sha256-ou7iukl1pHMfcJNemwLdZYYxugbJJQ53XpCYowUTj90="; + + nativeBuildInputs = [ + libcosmicAppHook + just + pkg-config + ]; + + buildInputs = [ udev ]; + + dontUseJustBuild = true; + dontUseJustCheck = true; + + justFlags = [ + "--set" + "prefix" + (placeholder "out") + "--set" + "cargo-target-dir" + "target/${stdenv.hostPlatform.rust.cargoShortTarget}" + ]; + + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version" + "branch=HEAD" + ]; + }; + + meta = { + description = "Applet to control the brightness of external monitors"; + homepage = "https://github.com/cosmic-utils/cosmic-ext-applet-external-monitor-brightness"; + license = lib.licenses.gpl3Only; + mainProgram = "cosmic-ext-applet-external-monitor-brightness"; + maintainers = with lib.maintainers; [ HeitorAugustoLN ]; + platforms = lib.platforms.linux; + }; +} From 447bba08e0dd4d7e225984c36de19fc61c2221b6 Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 28 Sep 2025 14:57:31 -0700 Subject: [PATCH 02/22] linux/common-config: enable DMABUF_MOVE_NOTIFY and HSA_AMD_P2P These flags are required for P2P transfers between accelerators. DMABUF_MOVE_NOTIFY is generic for DMABUF but mainly used by ROCm. HSA_AMD_P2P is ROCm specific. Enabling for 6.6+ despite support in 6.1+ as I recall these features being somewhat buggy when initially introduced. --- pkgs/os-specific/linux/kernel/common-config.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 069f4b6c94a3..bc1b9a978aa5 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -1307,7 +1307,12 @@ let HOTPLUG_PCI_PCIE = yes; # PCI-Expresscard hotplug support # Enable AMD's ROCm GPU compute stack - HSA_AMD = lib.mkIf stdenv.hostPlatform.is64bit (yes); + HSA_AMD = lib.mkIf stdenv.hostPlatform.is64bit yes; + # required for P2P DMABUF + DMABUF_MOVE_NOTIFY = lib.mkIf stdenv.hostPlatform.is64bit (whenAtLeast "6.6" yes); + # required for P2P transfers between accelerators + HSA_AMD_P2P = lib.mkIf stdenv.hostPlatform.is64bit (whenAtLeast "6.6" yes); + ZONE_DEVICE = lib.mkIf stdenv.hostPlatform.is64bit (yes); HMM_MIRROR = yes; DRM_AMDGPU_USERPTR = yes; From 42f9a98caf2405bf059ae233499e4555044d1ea7 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 1 Oct 2025 11:58:29 +0200 Subject: [PATCH 03/22] issue2md: update maintainers, add myself --- pkgs/by-name/is/issue2md/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/is/issue2md/package.nix b/pkgs/by-name/is/issue2md/package.nix index 4b9d55898e7a..10a45cfeb09f 100644 --- a/pkgs/by-name/is/issue2md/package.nix +++ b/pkgs/by-name/is/issue2md/package.nix @@ -26,7 +26,7 @@ buildGoModule (finalAttrs: { description = "CLI tool to convert GitHub issue into Markdown file"; homepage = "https://github.com/bigwhite/issue2md"; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ ]; + maintainers = with lib.maintainers; [ drupol ]; mainProgram = "issue2md"; }; }) From 47584023102fd640c8975365dd953dd9f5f29533 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 1 Oct 2025 12:02:10 +0200 Subject: [PATCH 04/22] issue2md: remove `ldFlags` See https://discourse.nixos.org/t/why-do-so-many-go-packages-use-s-w-in-their-ldflags-it-breaks-dontfixup-dontstrip/36843 --- pkgs/by-name/is/issue2md/package.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/by-name/is/issue2md/package.nix b/pkgs/by-name/is/issue2md/package.nix index 10a45cfeb09f..deda7d511aa4 100644 --- a/pkgs/by-name/is/issue2md/package.nix +++ b/pkgs/by-name/is/issue2md/package.nix @@ -17,11 +17,6 @@ buildGoModule (finalAttrs: { vendorHash = null; - ldflags = [ - "-s" - "-w" - ]; - meta = { description = "CLI tool to convert GitHub issue into Markdown file"; homepage = "https://github.com/bigwhite/issue2md"; From 4fe84439063a55c90d6e0600f83b838bd756f1cc Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 1 Oct 2025 12:02:38 +0200 Subject: [PATCH 05/22] issue2md: 1.2.0 -> 1.3.0 --- pkgs/by-name/is/issue2md/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/is/issue2md/package.nix b/pkgs/by-name/is/issue2md/package.nix index deda7d511aa4..a696311f3f7a 100644 --- a/pkgs/by-name/is/issue2md/package.nix +++ b/pkgs/by-name/is/issue2md/package.nix @@ -6,13 +6,13 @@ buildGoModule (finalAttrs: { pname = "issue2md"; - version = "1.2.0"; + version = "1.3.0"; src = fetchFromGitHub { owner = "bigwhite"; repo = "issue2md"; tag = "v${finalAttrs.version}"; - hash = "sha256-jwMaXiGcdNCQZJ2xht1oAcFJohFJiTH3lV3+opZ677g="; + hash = "sha256-bbID2yJkVdzWJ+LcQCTTeoMsQpJdT4op9PhTDwr+D+A="; }; vendorHash = null; From 8b3bf54ef751a257a143315e2f6783cf0b1142dd Mon Sep 17 00:00:00 2001 From: Bruno Bigras <24027+bbigras@users.noreply.github.com> Date: Wed, 1 Oct 2025 12:34:26 -0400 Subject: [PATCH 06/22] television: 0.13.2 -> 0.13.4 --- pkgs/by-name/te/television/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/te/television/package.nix b/pkgs/by-name/te/television/package.nix index 99ed16059053..09297ef0c35c 100644 --- a/pkgs/by-name/te/television/package.nix +++ b/pkgs/by-name/te/television/package.nix @@ -10,16 +10,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "television"; - version = "0.13.2"; + version = "0.13.4"; src = fetchFromGitHub { owner = "alexpasmantier"; repo = "television"; tag = finalAttrs.version; - hash = "sha256-Ur6UTd3XsI2ZyVboQA9r3WDkl7hd1wQ0NCgTlYFF/C0="; + hash = "sha256-LImipNu1uK1jcxU18Cw3BayHig2AS37PMGOOO8cJoE4="; }; - cargoHash = "sha256-LfaYRrJ4ZXoNVDsI650t+A7mWB9+2+znATp+mqDwTiE="; + cargoHash = "sha256-c/IYFf9gc3udzy5LPnyPPF0xuzT4vd2BGcLz0Xan2Do="; nativeBuildInputs = [ makeWrapper ]; From 73fb7196bad64aa9ac9f5879f0626fba271af7ae Mon Sep 17 00:00:00 2001 From: Heitor Augusto <44377258+HeitorAugustoLN@users.noreply.github.com> Date: Sun, 28 Sep 2025 14:45:01 -0300 Subject: [PATCH 07/22] cosmic-ext-applet-caffeine: init at 2025-09-29 --- .../co/cosmic-ext-applet-caffeine/package.nix | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 pkgs/by-name/co/cosmic-ext-applet-caffeine/package.nix diff --git a/pkgs/by-name/co/cosmic-ext-applet-caffeine/package.nix b/pkgs/by-name/co/cosmic-ext-applet-caffeine/package.nix new file mode 100644 index 000000000000..c219968bdb6f --- /dev/null +++ b/pkgs/by-name/co/cosmic-ext-applet-caffeine/package.nix @@ -0,0 +1,55 @@ +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, + libcosmicAppHook, + just, + nix-update-script, +}: +rustPlatform.buildRustPackage { + pname = "cosmic-ext-applet-caffeine"; + version = "2025-09-29"; + + src = fetchFromGitHub { + owner = "tropicbliss"; + repo = "cosmic-ext-applet-caffeine"; + rev = "a43db670e03894ff402fa19eec3d60f7c7bf663c"; + hash = "sha256-0hIc62FdjIGU028z8/WCx2q317e+PCA25CSibBVi/p0="; + }; + + cargoHash = "sha256-nl/giMIQ5xNSOgjv67OMWkfuAVtdIcqZDbXC1mYwXBM="; + + nativeBuildInputs = [ + libcosmicAppHook + just + ]; + + dontUseJustBuild = true; + dontUseJustCheck = true; + + justFlags = [ + "--set" + "prefix" + (placeholder "out") + "--set" + "bin-src" + "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-ext-applet-caffeine" + ]; + + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version" + "branch=HEAD" + ]; + }; + + meta = { + description = "Caffeine Applet for the COSMIC desktop"; + homepage = "https://github.com/tropicbliss/cosmic-ext-applet-caffeine"; + license = lib.licenses.mit; + mainProgram = "cosmic-ext-applet-caffeine"; + maintainers = [ lib.maintainers.HeitorAugustoLN ]; + platforms = lib.platforms.linux; + }; +} From dbd909b3f472f12395c799075d89462ad6831d80 Mon Sep 17 00:00:00 2001 From: Tomodachi94 Date: Thu, 2 Oct 2025 01:22:59 +0000 Subject: [PATCH 08/22] clojure: restore `jdk` with override in all-packages This broke some out-of-tree packages that expect to be able to override a `jdk` attribute. See the discussion at https://github.com/NixOS/nixpkgs/commit/a4dd7db0dc40f13289806c91c67a8bdd6f38ce96#commitcomment-166836083 --- pkgs/development/interpreters/clojure/default.nix | 6 +----- pkgs/top-level/all-packages.nix | 7 ++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix index 7a0bdcf58860..6d356626ed2f 100644 --- a/pkgs/development/interpreters/clojure/default.nix +++ b/pkgs/development/interpreters/clojure/default.nix @@ -4,15 +4,11 @@ bashNonInteractive, fetchurl, installShellFiles, - jdk21, + jdk, rlwrap, makeWrapper, writeScript, }: -let - # set this to an LTS version of java - jdk = jdk21; -in stdenv.mkDerivation (finalAttrs: { pname = "clojure"; version = "1.12.2.1565"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b68b2fe15612..c8e36b72bd8a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5812,7 +5812,12 @@ with pkgs; xeus-cling ; - clojure = callPackage ../development/interpreters/clojure { }; + clojure = callPackage ../development/interpreters/clojure { + # set this to an LTS version of java + # Be careful if you remove this, out-of-tree consumers expect to + # be able to override `jdk`. + jdk = jdk21; + }; clooj = callPackage ../development/interpreters/clojure/clooj.nix { }; From 1dbf045c4efef9b203d7d6a1bb7b52d753883b52 Mon Sep 17 00:00:00 2001 From: ToasterUwU Date: Thu, 2 Oct 2025 11:50:30 +0200 Subject: [PATCH 09/22] protonmail-desktop: 1.9.0 -> 1.9.1 Co-authored-by: R. RyanTM --- pkgs/by-name/pr/protonmail-desktop/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pr/protonmail-desktop/package.nix b/pkgs/by-name/pr/protonmail-desktop/package.nix index de92032c93f1..4ff3d237ea38 100644 --- a/pkgs/by-name/pr/protonmail-desktop/package.nix +++ b/pkgs/by-name/pr/protonmail-desktop/package.nix @@ -9,7 +9,7 @@ }: let mainProgram = "proton-mail"; - version = "1.9.0"; + version = "1.9.1"; in stdenv.mkDerivation { @@ -18,7 +18,7 @@ stdenv.mkDerivation { src = fetchurl { url = "https://proton.me/download/mail/linux/${version}/ProtonMail-desktop-beta.deb"; - sha256 = "sha256-8gUkWDBLzilmLrZCHRjf8EPYrjyHpwpA7ZIU4FQ1azA="; + hash = "sha256-P2i/uX++F1JUgwSUyndYazjLSCK1mP+XSGICPUoo1VE="; }; dontConfigure = true; From 1728bb50b8b5890c40b19d3ecfc7fc246515921e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 2 Oct 2025 14:08:45 +0000 Subject: [PATCH 10/22] gemini-cli: 0.6.1 -> 0.7.0 --- pkgs/by-name/ge/gemini-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ge/gemini-cli/package.nix b/pkgs/by-name/ge/gemini-cli/package.nix index d1ec6e4457b3..a075a7377e82 100644 --- a/pkgs/by-name/ge/gemini-cli/package.nix +++ b/pkgs/by-name/ge/gemini-cli/package.nix @@ -11,16 +11,16 @@ buildNpmPackage (finalAttrs: { pname = "gemini-cli"; - version = "0.6.1"; + version = "0.7.0"; src = fetchFromGitHub { owner = "google-gemini"; repo = "gemini-cli"; tag = "v${finalAttrs.version}"; - hash = "sha256-1QeVFPl6IH1iQFxrDZ0U8eTeLd+fIgSw1CkAiSGaL/s="; + hash = "sha256-tAX32t/NLO9j7kRxR9kipfl/afLfANN/jzWKXJC9mS4="; }; - npmDepsHash = "sha256-l5AFQH5h6CPNnuSP0jjla3UbBhjPDVEc8fL5NWcT1XQ="; + npmDepsHash = "sha256-nSNGWjRbAR2IFod3yC7d30Siui7N4Z0KZVxtsJ01UX8="; nativeBuildInputs = [ jq From 4aad373382d54920a4987d85337b6cd3f52e894a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Oct 2025 17:26:54 +0200 Subject: [PATCH 11/22] python3Packages.django_5_2: 5.2.6 -> 5.2.7 https://docs.djangoproject.com/en/5.2/releases/5.2.7/ https://www.djangoproject.com/weblog/2025/oct/01/security-releases/ Fixes: CVE-2025-59681, CVE-2025-59682 --- pkgs/development/python-modules/django/5_2.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django/5_2.nix b/pkgs/development/python-modules/django/5_2.nix index 15d5be84173d..bc2e730f56a4 100644 --- a/pkgs/development/python-modules/django/5_2.nix +++ b/pkgs/development/python-modules/django/5_2.nix @@ -43,7 +43,7 @@ buildPythonPackage rec { pname = "django"; - version = "5.2.6"; + version = "5.2.7"; pyproject = true; disabled = pythonOlder "3.10"; @@ -52,7 +52,7 @@ buildPythonPackage rec { owner = "django"; repo = "django"; rev = "refs/tags/${version}"; - hash = "sha256-Bzm4FTzYeXEEFenkT2gN1IzYnUIo7tlD2GI/sX2THkw="; + hash = "sha256-rvnKa2+QabRtRfj0sauUsoxp0LJLUCmWrFs6ruVrz4k="; }; patches = [ From 0266e36ed7ba9b55cc7eef391f998b6ea8ec8937 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Oct 2025 17:29:56 +0200 Subject: [PATCH 12/22] python3Packages.django_5_1: 5.1.12 -> 5.1.13 https://docs.djangoproject.com/en/5.1/releases/5.1.13/ https://www.djangoproject.com/weblog/2025/oct/01/security-releases/ Fixes: CVE-2025-59681, CVE-2025-59682 --- pkgs/development/python-modules/django/5_1.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django/5_1.nix b/pkgs/development/python-modules/django/5_1.nix index 7ea62daad3d9..a5e7d9751df5 100644 --- a/pkgs/development/python-modules/django/5_1.nix +++ b/pkgs/development/python-modules/django/5_1.nix @@ -44,7 +44,7 @@ buildPythonPackage rec { pname = "django"; - version = "5.1.12"; + version = "5.1.13"; pyproject = true; disabled = pythonOlder "3.10"; @@ -53,7 +53,7 @@ buildPythonPackage rec { owner = "django"; repo = "django"; rev = "refs/tags/${version}"; - hash = "sha256-QWBxP728D/HQb+WLPkaXMOQtlO8b+FWcYxZyHoVcxVI="; + hash = "sha256-y6wBMQ2BA6UUOJDWGhidCFwthtXZU2r0oGOUUSwKvQE="; }; patches = [ From 0862b930668fe88bbd74ed897f4fab38bed8ae03 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 12 Sep 2025 20:55:32 +0200 Subject: [PATCH 13/22] docs: add clarifying explanation about reference documentation apply @roberth suggestion Co-authored-by: Robert Hensing --- doc/README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/README.md b/doc/README.md index 2083d79c812a..23f59e580d05 100644 --- a/doc/README.md +++ b/doc/README.md @@ -213,6 +213,34 @@ Put each sentence in its own line. This makes reviews and suggestions much easier, since GitHub's review system is based on lines. It also helps identifying long sentences at a glance. +### Writing Function Documentation + +Function documentation is *reference documentation*, for which +[diataxis Reference documentation](https://diataxis.fr/reference/) (8 minutes) is **mandatory reading**. + +On top of the diataxis framework, which provides a balanced perspective on what reference documentation should contain, we apply a specific style rule to function documentation: +the first sentence is in present tense, active voice, and the subject is omitted, referring implicitly to the name of the function. +For example: + +```nix +/** + Subtracts value `b` from value `a`. + + Returns the difference as a number. +*/ +subtractValues # ...elided code +``` + +Renders as: + +```md +## `subtractValues` + +Subtracts value `b` from value `a`. + +Returns the difference as a number. +``` + ### Callouts and examples Use the [admonition syntax](#admonitions) for callouts and examples. From 51126c89d5a34fd8f048557615a088d9df674808 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:16 +0300 Subject: [PATCH 14/22] linux_6_17: init at 6.17 --- pkgs/os-specific/linux/kernel/kernels-org.json | 5 +++++ pkgs/top-level/aliases.nix | 2 ++ pkgs/top-level/linux-kernels.nix | 11 ++++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index 1484ecee6cc9..de87d1b4b233 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -38,5 +38,10 @@ "version": "6.16.9", "hash": "sha256:13g59jvc6kvp8dzl6ysmzrpq4nh9xvy5va5avrsn6iq5ryiwij3s", "lts": false + }, + "6.17": { + "version": "6.17", + "hash": "sha256:19spyyknps9dzb6mz5sk685a505hzqi144lqc0rdi6f9l5k72q4v", + "lts": false } } diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 5f685ed79471..a24794276123 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1418,6 +1418,7 @@ mapAliases { linuxPackages_6_14 = linuxKernel.packages.linux_6_14; linuxPackages_6_15 = linuxKernel.packages.linux_6_15; linuxPackages_6_16 = linuxKernel.packages.linux_6_16; + linuxPackages_6_17 = linuxKernel.packages.linux_6_17; linuxPackages_ham = linuxKernel.packages.linux_ham; linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1; linuxPackages_rpi02w = linuxKernel.packages.linux_rpi3; @@ -1443,6 +1444,7 @@ mapAliases { linux_6_14 = linuxKernel.kernels.linux_6_14; linux_6_15 = linuxKernel.kernels.linux_6_15; linux_6_16 = linuxKernel.kernels.linux_6_16; + linux_6_17 = linuxKernel.kernels.linux_6_17; linux_ham = linuxKernel.kernels.linux_ham; linux_rpi0 = linuxKernel.kernels.linux_rpi1; linux_rpi02w = linuxKernel.kernels.linux_rpi3; diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 1faba9a7f1b5..9e76135f3b81 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -218,6 +218,14 @@ in ]; }; + linux_6_17 = callPackage ../os-specific/linux/kernel/mainline.nix { + branch = "6.17"; + kernelPatches = [ + kernelPatches.bridge_stp_helper + kernelPatches.request_key_helper + ]; + }; + linux_testing = let testing = callPackage ../os-specific/linux/kernel/mainline.nix { @@ -737,6 +745,7 @@ in linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6); linux_6_12 = recurseIntoAttrs (packagesFor kernels.linux_6_12); linux_6_16 = recurseIntoAttrs (packagesFor kernels.linux_6_16); + linux_6_17 = recurseIntoAttrs (packagesFor kernels.linux_6_17); } // lib.optionalAttrs config.allowAliases { linux_4_19 = throw "linux 4.19 was removed because it will reach its end of life within 24.11"; # Added 2024-09-21 @@ -809,7 +818,7 @@ in packageAliases = { linux_default = packages.linux_6_12; # Update this when adding the newest kernel major version! - linux_latest = packages.linux_6_16; + linux_latest = packages.linux_6_17; linux_rt_default = packages.linux_rt_5_15; linux_rt_latest = packages.linux_rt_6_6; } From 49965bf1fcd6a65c8ecd50a203bbcbfbc59a24bb Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:20 +0300 Subject: [PATCH 15/22] linux_6_16: 6.16.9 -> 6.16.10 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index de87d1b4b233..1f92970dafa7 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -35,8 +35,8 @@ "lts": true }, "6.16": { - "version": "6.16.9", - "hash": "sha256:13g59jvc6kvp8dzl6ysmzrpq4nh9xvy5va5avrsn6iq5ryiwij3s", + "version": "6.16.10", + "hash": "sha256:1wm8azbwy131cwvxab66v2ccybfkaq7gkxili0p6hjqyhnlbn1mb", "lts": false }, "6.17": { From 4b8ec043d78ae3eb296bd23fcfe9c03ff5fc5bb9 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:24 +0300 Subject: [PATCH 16/22] linux_6_12: 6.12.49 -> 6.12.50 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index 1f92970dafa7..28da898cf967 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -30,8 +30,8 @@ "lts": true }, "6.12": { - "version": "6.12.49", - "hash": "sha256:09jm892q3b275liyzmycczg6nyjg1ramsma920jf5k6s8vhj2ii3", + "version": "6.12.50", + "hash": "sha256:19bjzhxasj4r6m1lhsa486a96axfigbm06kqa2lwa7y2s5sbsdf4", "lts": true }, "6.16": { From efc34f1990b7a72a24fc1c51fb24df5cdc1e2647 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:28 +0300 Subject: [PATCH 17/22] linux_6_6: 6.6.108 -> 6.6.109 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index 28da898cf967..e6acbceb886e 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -25,8 +25,8 @@ "lts": true }, "6.6": { - "version": "6.6.108", - "hash": "sha256:19k834gd9galmzl7gq0v25nv785ld7ryygrmgdh1cpb9m8rd6730", + "version": "6.6.109", + "hash": "sha256:1x1h2x04xvds8k59x36zqxzbj4cm6yl5l6xacgfyxzccfycwscbp", "lts": true }, "6.12": { From 90c4a3eaa4b5a66adf155c99808fb2a71fe26f03 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:33 +0300 Subject: [PATCH 18/22] linux_6_1: 6.1.154 -> 6.1.155 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index e6acbceb886e..b7633326d0e5 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -5,8 +5,8 @@ "lts": false }, "6.1": { - "version": "6.1.154", - "hash": "sha256:165im36dhnvhrfkn4x77ds6cgisn40d1cwxvxsci5lnhqf9bl6kg", + "version": "6.1.155", + "hash": "sha256:0wsw99h2jsrcx9fff59nqjx66l40vywj8qi3j6yvqpq8xsp8g4y2", "lts": true }, "5.15": { From dca42db029bdd338162297671a965b24d440e0f0 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:38 +0300 Subject: [PATCH 19/22] linux_5_15: 5.15.193 -> 5.15.194 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index b7633326d0e5..f9fb0ede9afe 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -10,8 +10,8 @@ "lts": true }, "5.15": { - "version": "5.15.193", - "hash": "sha256:168ymh51hm0l6pd9g2kc33ji28gznc25rwzj7rvhnw82z79640n7", + "version": "5.15.194", + "hash": "sha256:0zi6ihvjmaf940arnc7jjvdqrjf3cvkc9mqc8n24dz85vam6z39l", "lts": true }, "5.10": { From a4ffd4b89b5bf40e32f39e4df9c27ce28878a472 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:41 +0300 Subject: [PATCH 20/22] linux_5_10: 5.10.244 -> 5.10.245 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index f9fb0ede9afe..6cb0e85cbfa9 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -15,8 +15,8 @@ "lts": true }, "5.10": { - "version": "5.10.244", - "hash": "sha256:1h3dqaran5zrfgs0vybwq576yka8s9jirahiy3bb7hpm1763f2i1", + "version": "5.10.245", + "hash": "sha256:17wxs8i8vd5ivv99ra0sri3wmkw5c22wsaw8nf1xcvys2kmpa7hk", "lts": true }, "5.4": { From 8d5a8714581503810a4c7d97527a778de7cf961b Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:40:45 +0300 Subject: [PATCH 21/22] linux_5_4: 5.4.299 -> 5.4.300 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index 6cb0e85cbfa9..e8a9ccebb473 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -20,8 +20,8 @@ "lts": true }, "5.4": { - "version": "5.4.299", - "hash": "sha256:0bdzy3bpywm24nx73ah9smwmmlmyhvlf5xcp2kk1z54dxfp9bpl8", + "version": "5.4.300", + "hash": "sha256:0nl1l689d4jq2l39v816yy7z5lzc5dvv8aqn85xlv4najc022jcr", "lts": true }, "6.6": { From 1cbf73ede49e2ca21ad161d0394ef49d697a92f7 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 2 Oct 2025 19:55:06 +0300 Subject: [PATCH 22/22] linux/common-config: enable nice things for 6.17 --- pkgs/os-specific/linux/kernel/common-config.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index e5016ccb87fa..3f7f485ac87d 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -230,6 +230,7 @@ let DAMON_DBGFS = whenBetween "5.15" "6.9" yes; DAMON_RECLAIM = whenAtLeast "5.16" yes; DAMON_LRU_SORT = whenAtLeast "6.0" yes; + DAMON_STAT = whenAtLeast "6.17" yes; # Support recovering from memory failures on systems with ECC and MCA recovery. MEMORY_FAILURE = yes; @@ -1475,6 +1476,9 @@ let # See https://cateee.net/lkddb/web-lkddb/AMD_WBRF.html AMD_WBRF = whenAtLeast "6.8" yes; + # Enable AMD heterogeneous core hardware feedback interface + AMD_HFI = whenAtLeast "6.17" yes; + # Enable Intel Turbo Boost Max 3.0 INTEL_TURBO_MAX_3 = yes; };