Commit graph

376 commits

Author SHA1 Message Date
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
K900
6976734598 linux_6_11{,_hardened}: drop 2025-03-24 10:08:44 +03:00
Cryolitia PukNgae
d33b0f613b
xpad-noone: init at 0-unstable-2024-01-10 2025-03-17 03:38:47 +08:00
K900
368ab95c5a
Kernel updates for 2025-03-13 (#389495) 2025-03-13 16:52:11 +03:00
K900
ed88f61013 linux_6_12: 6.12.18 -> 6.12.19 2025-03-13 15:40:00 +03:00
matthewcroughan
b987b0ba89 linuxPackages_ham: init 2025-03-12 21:29:12 +00:00
nixpkgs-ci[bot]
5397043aaf
Merge master into staging-next 2025-03-09 18:03:47 +00:00
K900
c5d327cc97 linux_6_12: patch to fix build with Rust 1.85 2025-03-09 15:51:42 +03:00
Tyler Hardin
98d4d387a7 amdgpu-i2c: init at 0-unstable-2024-12-16 2025-03-06 19:43:13 -05:00
Fabián Heredia Montiel
ab23320d2d linux/hardened/patches/6.13: init at v6.13.5-hardened1 2025-03-02 20:50:56 +01:00
Christoph Honal
a02b183b85 linuxPackages.nxp-pn5xx: init at 0.4-unstable 2025-02-10 15:58:59 +01:00
Franz Pletz
c1b4527529
linuxPackages.nvidia_x11_latest{,open}: alias to nvidiaPackages.latest (#370568) 2025-01-29 09:21:12 +01:00
K900
a24cf00be4
linux: expose make flags for modules in linuxKernel.packages.linux_X_Y (#377327) 2025-01-27 19:36:35 +03:00
Maximilian Bosch
5645cd22d4
linux: expose make flags for modules in linuxKernel.packages.linux_X_Y
Closes #376820

The issue with providing `moduleMakeFlags` via `passthru` of the kernel
package is that when this package gets overriden[1], the `moduleMakeFlags`
list still references the kernel without the overrides.

This broke e.g. kernel modules of linux-rpi4 which can be reproduced
with

    nix-build --argstr system aarch64-linux -A linuxKernel.packages.linux_rpi4.zfs_2_3

This used to break with

    Error: modDirVersion 6.6.51 specified in the Nix expression is wrong, it should be: 6.6.51-v8

since KBUILD_OUTPUT referenced the kernel without the changes from
`overrideDerivation` that also changes the `modDirVersion`.

The new approach is to add the build flags right into
`linuxKernel.packages.linux_X_Y`: that way we don't need any hacks to
update `moduleMakeFlags` when the derivation with the passthru gets
overridden.

By using the fixpoint of the package-set, the `kernelModuleMakeFlags`
list is correctly updated. E.g. given

    with import ./. {};

    linuxKernel.packages.linux_6_6.extend (self: super: {
      kernel = super.kernel.overrideAttrs (_: {
        name = "linux-snens";
      });
    })

the `makeFlags` is correctly updated:

    $ nix-instantiate snenskek.nix -A zfs_2_3.makeFlags --eval --strict
    [ "ARCH=x86_64" "CROSS_COMPILE=" "KBUILD_OUTPUT=/nix/store/gsp68549k1aqbwxwczpgw67w5jjn4shw-linux-snens-dev/lib/modules/6.6.74/build" ]

[1] E.g. `linux-rpi4`.
2025-01-27 16:09:50 +01:00
Andrew Marshall
dcc754b57c linux: remove linuxPackages.zfs alias
This is not needed for any regular usage, as folks will almost always
consume `linuxPackages.zfs*` via `boot.zfs.package = pkgs.zfs*`, where
that is the top-level package that has a reference to the appropriate
Kernel package via its `kernelModuleAttribute`. As such, this alias
provides little usefulness, so remove it to avoid having to maintain it
in-sync with the top-level alias.
2025-01-25 10:00:09 -05:00
K900
e02ff39e39
linux_6_13: init (#375250) 2025-01-20 10:20:34 +03:00
K900
bcdfbb7b73
linuxPackages: 6.6 -> 6.12 (#370410) 2025-01-20 10:20:18 +03:00
K900
d7356a72a6 linux_6_13: init 2025-01-20 09:14:29 +03:00
github-actions[bot]
9129b13110
Merge master into staging-next 2025-01-15 00:14:20 +00:00
Adam C. Stephens
bb45501b6d
zfs_2_1: remove (#358811) 2025-01-14 14:37:08 -05:00
Andrew Marshall
6477277a79 zfs_2_3: init at 2.3.0
Changelog: https://github.com/openzfs/zfs/releases/tag/zfs-2.3.0
2025-01-13 20:19:54 -05:00
github-actions[bot]
ded5a5e552
Merge master into staging-next 2025-01-09 00:14:35 +00:00
Lyn
e2bcbb1984 linuxPackages.tsme-test: init at 6.6.68-unstable-2022-12-07 2025-01-08 19:07:41 +01:00
PerchunPak
2c522aded1
linuxPackages.nvidia_x11_latest{,open}: alias to nvidiaPackages.latest 2025-01-03 12:45:52 +01:00
Gaetan Lepage
c9ddb6bef5 linuxPackages: 6.6 -> 6.12
The latest longterm kernel release series is 6.12, and we should roll it
out as the default now, to receive as much testing as possible before
the NixOS 25.05 release.
2025-01-02 23:56:15 +01:00
Luke Granger-Brown
c13f8abbe8
libajantv2: 16.2-bugfix5 -> 17.1.0 (#367135) 2024-12-29 16:39:15 +00:00
Andrew Marshall
cbc50da11c zfs_2_1: remove
With the release of 2.3.0-rc, we know that 2.3.0 will be coming sometime
soon. Per the [ZFS release policy][1], only the current and previous
releases are expected to be supported, so 2.1.x will become unsupported.
Unfortunately upstream does not have any specific timelines, so we do
not know when it will become unsupported, but when it does we will
likely backport the removal. As such, begin warning of imminent removal.

[1]: 6187b19434/RELEASES.md
2024-12-25 21:57:51 +01:00
Luke Granger-Brown
5f1d210546 linuxPackages.ajantv2: init at 17.1.0 2024-12-22 23:31:46 +00:00
Arne Keller
255bca1a8e
linuxPackages.iio-utils: init (#280523) 2024-12-20 12:58:12 +01:00
Edward Tjörnhammar
438969f9ee nixos/nvidia: add nvidia_dc_565 drivers
Also remove dc_520
2024-12-19 16:53:08 +00:00
Arne Keller
57f64aab63
linuxPackages.yt6801: init at 1.0.29 (#349513) 2024-12-18 18:37:25 +01:00
Fabián Heredia Montiel
d539a4a7e4 linux/hardened/patches/6.12: init at v6.12.4-hardened1 2024-12-14 10:28:48 -06:00
ash
c62f9b26b0 treewide: lib.warn -> lib.warnOnInstantiate 2024-12-02 19:09:08 +00:00
Indexyz
89f4126ef6 linuxPackages.yt6801: init at 1.0.29 2024-12-01 15:23:57 +08:00
jopejoe1
2e2c7f54fd treewide: hide more deprecated stuff if allowAliases is false 2024-11-27 20:51:46 +01:00
K900
a7c029235d linux_6_12: init at 6.12 2024-11-18 09:14:46 +03:00
Sandro
e1571aa9a2
linuxPackages.amneziawg: init at 1.0.20240711 (#331598) 2024-11-12 19:20:04 +01:00
K900
a54c7dcc8e
add linux_{default,latest} to linuxKernel.kernels (#317498) 2024-11-08 08:56:48 +03:00
Fabián Heredia Montiel
2f31bf4c47 linux/hardened/patches/6.11: init at v6.11.6-hardened1 2024-11-06 18:15:54 -06:00
Sandro
a4e9a2f859
tuxedo-keyboard: fix compilation for kernel 6.10 and 6.11 (#336633) 2024-11-05 16:43:58 +01:00
Jan B.
1790f7b4c3
tuxedo-drivers: init at 4.6.2 2024-11-03 22:54:55 +01:00
Sandro
8aa6466c2a
linux-kernels: fix typo 2024-11-01 23:15:28 +01:00
K900
c845b35460 linux: remove patch backport 2024-11-01 08:10:32 +03:00