Commit graph

418 commits

Author SHA1 Message Date
Adam C. Stephens f2f501c50c
zfs_2_2: remove
Will likely go out of support during 25.11 as zfs-2.4.0-rc3 is already out
2025-11-08 12:17:12 -05:00
Jared Baur c00aef9939
Add MDIO tools and netlink out-of-tree kernel module (#456896) 2025-11-01 01:38:47 +00:00
Aliaksandr 94ed560a95
linux-kernels: remove global with 2025-10-30 22:38:49 +02:00
Aliaksandr 03bb7d8195
all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
Jared Baur 9bdf1311ee
mdio-netlink: init at 1.3.1 2025-10-30 10:48:28 -07:00
Maximilian Bosch 4404f98361
linux: low-hanging fruits / cleanups (#448835) 2025-10-26 10:28:12 +00:00
Maximilian Bosch 1965f3c77d
linux: manual-config.nix -> build.nix
Since I started touching this subsystem, I found the name confusing
since this is the part where we actually compile the kernel and we have
a ready-to-use configuration.

The stated goal of the commit introducing it[1] is to provide a function
to

> make it possible to build a kernel with a user provided .config.

Considering that this is supposed to be a differentiation from other
build mechanisms and nowadays this is the only way to build kernels in
nixpkgs, I figured that `build.nix` is a better name.

`pkgs.linuxManualConfig` isn't renamed on purpose: Kloenk and I are
planning to do more involved work and it may become necessary to change
parts of the API. So asking users to do a migration now just to add
another one soon isn't worth it.

[1] bf7467cbb1
2025-10-24 18:06:29 +02:00
Maximilian Bosch a943d89fb0
linux_5_4: remove
See https://endoflife.date/linux

Will be end of life on 2025-12-31 which is well within the timespan of
25.11.
2025-10-22 15:47:51 +02:00
Maximilian Bosch 4a8ef0e0cf
linux_6_16: remove
EOL upstream.
2025-10-22 13:23:53 +02:00
Connor Baker c86b434e0f
Introduce kernelPackagesExtensions (#448069) 2025-10-16 22:40:56 +00:00
makefu 2ed253d85d
exfat-nofuse: remove
there is no kernel older than 5.10 in nixpkgs anymore
therefore this package can be removed and replaced with a message
2025-10-07 10:10:33 +02:00
Weijia Wang cd5ef1ea27
prl-tools: 26.0.1-57243 -> 26.1.1-57288 (#448165) 2025-10-04 13:50:06 +00:00
codgician cf2677a918
prl-tools: 26.0.1-57243 -> 26.1.1-57288 2025-10-04 18:20:59 +08:00
K900 d0a88305c6
linux_libre: remove (#447671) 2025-10-03 18:17:52 +00:00
Elliot Berman b1fa8068af
linux-kernels: Introduce kernelPackagesExtensions
Presently, we can only override or extend specific versions of
linuxPackages_*. This is not ideal for a overlay which adds a kernel
module or overrides the version for a Linux package because we must
override every version individually. Python has introduced a pattern,
"pythonPackagesExtensions" which is an array of extensions (functions)
to modify a given pythonPackages. CUDA has recently done the same with
_cuda.extensions. Apply this approach to kernelPackages as well.
2025-10-03 09:58:42 -07:00
K900 51126c89d5 linux_6_17: init at 6.17 2025-10-02 19:43:03 +03:00
Maximilian Bosch 545a975d7e
linux_libre: remove
Closes #447657
Closes #447562
Closes #447563

Ignoring a kernel and whenever it breaks having somebody pop up to do
the update is NOT an acceptable approach to maintaining a kernel
package.

Since there's apparently not enough interest (which is understandable
because that's a kernel that... just removes things), I think a full-blown
removal is the only way forward.

Also, to be clear upfront: the only future this should have is
maintenance in a downstream-project by somebody caring enough. To me, a
re-add is out of question since it'd contradict the "no new downstream
kernel rule".
2025-10-01 12:13:42 +02:00
Will Fancher 6e331d90bd bcachefs-kernel-module: Nest within bcachefs-tools
When you set the bcachefs userspace tools with:

```nix
boot.bcachefs.package = /* custom pacakge */;
```

This now also changes the kernel package. The NixOS module now calls
on the nested `cfg.package.kernelModule` expression with
`kernelPackages.callPackage`. This will enable overriding both
userspace and kernel space from e.g. upstream git.
2025-09-30 01:16:01 -04:00
Will Fancher 7582c9166d bcachefs-kernel-module: init at 1.31.3 2025-09-24 21:15:50 -04:00
dramforever abf2b9d1da linuxPackages_custom: Default allowImportFromDerivation to false
Since #434608, we no longer need to use allowImportFromDerivation if
configfile is a path, which does not require IFD to read. Default it to
false.
2025-09-19 15:36:51 +08:00
Maximilian Bosch ffd11aa9be
Merge: perf: clean up, fix compliance issue (#439229) 2025-09-06 13:15:11 +02:00
Alyssa Ross 8b2610a9ee
perf: extract from linuxPackages; deduplicate
There's no reason for us to be packaging old versions of perf.  You
don't need to match it with a kernel version.  Let's build it from the
latest kernel sources, so it'll get kept up to date.
2025-09-03 19:57:39 +02:00
Wolfgang Walther 5c4608656e
top-level/release-outpaths: move to ci/eval & refactor (#439221) 2025-09-03 16:27:37 +00:00
Wolfgang Walther d0c0b875f7
treewide: remove __recurseIntoDerivationForReleaseJobs
This attribute was supposed to be set on derivations, to make the
release tools recurse into them. The remaining uses were all on regular
attrsets, though, so this is safe to remove.
2025-08-31 20:54:49 +02:00
Maximilian Bosch 510532e9ae
linux_6_15: remove
EOL upstream.

We only have one hardened kernel at the moment now because
LTS == latest available. This situation would've also happened before
the cleanup since 6.13/6.14 were removed in June already[1].

[1] 23b573705d
2025-08-30 13:53:01 +02:00
Maximilian Bosch 91f7851fb2
linux_hardened: only provide latest LTS and lattest stable version
As proposed in #346018 (not closing the ticket, this affects other
variants as well).

The packaging for hardened is in a pretty sad state: it was lagging
several patch-releases behind and nobody seems to care. The update
script aged poorly: the automatic removal was flat-out broken, several
type annotations are plain wrong (`list[int] != packaging.Version`).

This patch is an attempt to reduce the scope for the maintainer team
drastically to provide _some_ maintenance again by only packaging latest
LTS and latest stable.

Also, remove the top-level attributes for this. I still don't see any
compelling reason to give hardly used flavours that special treatment.
2025-08-23 17:42:48 +02:00
Atemu fd3c915975
linux-kernels: add LTS flag
This serves to differentiate between a kernel that is an LTS release and one
that is merely a regular "stable" release.
2025-08-23 17:42:41 +02:00
Emily 796e4f546b linux_5_4_hardened: drop
Already marked as broken, and due for removal anyway in
<https://github.com/NixOS/nixpkgs/pull/432561>.
2025-08-22 23:01:59 +01:00
K900 25303238b9 deepin: drop 2025-08-21 23:21:45 +03:00
K900 96e751adaf linuxPackages.deepin-anything-module: drop
The rest of Deepin will also be dropped.
2025-08-21 23:21:45 +03:00
Peter H. Hoeg 87cb7095bf linuxPackages.acer-wmi-battery: init at 0.1.0-unstable-2025-04-24 2025-07-31 05:01:10 +02:00
K900 2a866d5813 linux_6_16: init at 6.16 2025-07-28 07:42:13 +03:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Matthew Croughan ca573e60c6
sheep_net: init (#423744) 2025-07-16 17:06:11 +01:00
matthewcroughan c58a266a1e sheep_net: init
Co-authored-by: bloxx12 <charlie@charlieroot.dev>
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2025-07-16 14:24:36 +01:00
Jon Hermansen e72b387bf6 linuxKernel.kernels.4_*.phc-intel: remove support
phc-intel flavor is unused because 4.x support is deprecated

Removed all references of 'phc-intel' from the codebase and
add removal notice
2025-07-09 20:38:24 -04:00
Aleksana 70450f7db1
ecapture: support non-core btf mode (#418733) 2025-07-05 19:22:36 +08:00
Maximilian Bosch 073a2d1d41
Merge: linuxPackages.tt-kmd: init at 2.0.0 (#421385) 2025-07-03 19:02:16 +02:00
Tristan Ross 37f9f51c10
linuxPackages.tt-kmd: init at 2.0.0 2025-07-02 20:40:26 -07:00
Alyssa Ross 23b573705d
linux_6_{13,14}{,_hardened}: remove
Both are EOL.
2025-06-29 17:18:20 +02:00
Alyssa Ross 56cbb4e5d8
Revert "linuxPackages_ham: init"
This reverts commit b987b0ba89.

The config options previously enabled by linux_ham are now enabled in
the default kernel.
2025-06-24 14:27:31 +02:00
wxt a1b23b791f ecapture: support non-core btf mode 2025-06-21 21:18:27 +08:00
Vladimír Čunát 3b17ba75ab
linuxPackages.asus-wmi-sensors: drop (#405088) 2025-05-29 09:19:22 +02:00
K900 a4eed1fa79 linux_6_15: init at 6.15 2025-05-26 10:49:05 +03:00
Alyssa Ross 28ea08fde9 linux/hardened/patches/6.14: init at v6.14.6-hardened1
Co-authored-by: Fabián Heredia Montiel <fabianhjr@protonmail.com>
2025-05-19 21:50:37 -06:00
Sergei Lukianov d7626b2f95
asus-wmi-sensors: drop
This driver has been integrated into the kernel mainline as of version
5.17: https://github.com/electrified/asus-wmi-sensors

ZHF: https://hydra.nixos.org/build/296172908

Signed-off-by: Sergei Lukianov <me@slukjanov.name>
2025-05-07 16:02:30 -07:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Fabián Heredia Montiel 19c1f88d5f linux-kernels: cleanup aliases 2025-03-25 13:18:11 -06:00
misuzu f630533b4a
nixos/xpad-noone: init (#389752) 2025-03-25 11:29:52 +02:00
K900 a187f23b4f linux_6_14: init at 6.14
Also:
- enable cgroup_dmem on 6.14+
- enable devicetree explicitly (because whatever was pulling it in before doesn't now)
2025-03-24 18:45:39 +03:00