1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00
Commit graph

631 commits

Author SHA1 Message Date
K900 5703364874
nixos/graphics: clarify assertion message for enable32Bit configuration (#355033) 2024-11-12 06:17:47 +03:00
Cryolitia PukNgae 8b1cd0960b
nixos/graphics: clarify assertion message for enable32Bit configuration
The original message is really confusing, when you wrongly enable it on aarch64.
2024-11-12 11:15:26 +08:00
Franz Pletz f1b26f503a
nitrokey-udev-rules: init at 1.0.0 (#352481) 2024-11-11 10:54:55 +01: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. 4391c3883b
nixos/tuxedo-drivers: init 2024-11-03 22:54:56 +01:00
Guillaume Girol 796d87a639
corectrl: adopt and modernize (#352151) 2024-11-01 15:35:04 +01:00
Robin Krahl bed43b4461
nixos/hardware.nitrokey: update documentation
The nitrokey group has been removed in #108319.
2024-10-30 23:44:35 +01:00
Josh Spicer e727b10cc0
nixos/hackrf: document group requirement (#344118) 2024-10-30 18:26:15 +08:00
Robin Krahl 38ec993a58
nixos/hardware.nitrokey: replace libnitrokey with nitrokey-udev-rules
As libnitrokey is no longer developed, the udev rules have been moved to
a separate repository, nitrokey-udev-rules, that is now also available
as a package in nixpkgs.

See also: https://github.com/NixOS/nixpkgs/issues/351921
2024-10-30 09:59:51 +01:00
Sefa Eyeoglu 4c7ab52fcb
nixos/corectrl: nixfmt and refactor
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-10-29 18:53:31 +01:00
Sefa Eyeoglu 0269ce97e6
nixos/corectrl: add Scrumplex as maintainer
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-10-29 18:51:18 +01:00
andre4ik3 c42b24b3f4
nixos/apple-touchbar: init module (#350219) 2024-10-23 17:14:34 +02:00
scrufulufugus a1c03ab062 system76-power: Move out of kernel category
system76-power: add alias at old location
2024-10-17 18:22:34 +02:00
K900 5c33791df3 steam (and friends): migrate to by-name, small cleanups all over
- rename "steam-original" or "steam" to "steam-unwrapped", as that's what it is
- rename "steam-fhsenv" to "steam", as that's what you actually want
- remove some no-longer-relevant hacks
2024-10-16 23:27:24 +03:00
Matej Cotman f53387e15a ipu6: update packages
This updates the ipu6 driver and firmware to a more recent version,
which seems to at least work in Chrom{e,ium}.

ipu6-drivers now relies on the in-kernel ipu6 kernel driver, so we
update our logic and metadata for it.
2024-10-12 00:45:04 +03:00
Will Fancher aad455b434
nixos/usbStorage: apply upstream (#284334) 2024-10-06 19:39:07 -04:00
r-vdp 70119aa60f
nixis/uinput: use a fixed GID for the uinput group 2024-10-05 10:21:26 +02:00
r-vdp 469f505813
nixos/{uinput,ids}: format 2024-10-05 10:21:01 +02:00
Lin Jian 11f1d318f6
nixos/graphics: fix typo
Searching hardware.*.extraPackages on search.nixos.org[1] shows there
is only hardware.graphics.extraPackages.

[1]: https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=hardware.*.extraPackages
2024-09-26 09:08:43 +08:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
bb2020 75d77524ac nixos/usbStorage: apply upstream 2024-09-22 10:48:25 +03:00
Sandro b3c4e7f536
nixos/nvidia: assert open option is manually set on drivers >= 560 (#339025) 2024-09-17 11:32:47 +02:00
seth 43764ae2c3
nixos/nvidia: assert open option is manually set on drivers >= 560
This requirement was introduced in
https://github.com/NixOS/nixpkgs/pull/337289 as a way to make sure users
"explicitly pick which version of the driver they want since nvidia
recommends the open one, but that is incompatible with older drivers".
This is reasonable, however the user isn't informed in any real way
aside from the upcoming release notes

This has caused a
[good](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2313802016)
[amount](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2318571311)
[of](https://github.com/NixOS/nixpkgs/issues/338196)
[confusion](https://github.com/NixOS/nixos-hardware/issues/1092) amongst
users. By introducing this assertion and using a new `useOpenModules`
local variable, we can have the same behavior but display a proper error
message to hopefully clear things up until we can safely make this a
default
2024-09-16 13:04:39 -04:00
Guanran Wang bde8f99741
nixos/amd-microcode: remove alias 2024-09-08 15:15:12 +08:00
Guanran Wang a55aaa547c
nixos/intel-microcode: remove alias 2024-09-08 15:11:50 +08:00
Philip Taron 9916dc8728
treewide/nixos: remove with lib; part 2 (#335618) 2024-08-30 15:56:57 -07:00
Felix Buehler 0db2200f7e nixos/hardware.xpadneo: remove with lib; 2024-08-30 22:59:24 +02:00
Felix Buehler 17fb9386ad nixos/hardware.xone: remove with lib; 2024-08-30 22:59:24 +02:00
Felix Buehler d0bcf277bf nixos/hardware.wooting: remove with lib; 2024-08-30 22:59:23 +02:00
Felix Buehler bbe907f0a9 nixos/hardware.facetimehd: remove with lib; 2024-08-30 22:59:23 +02:00
Felix Buehler 4fa8726a44 nixos/hardware.uvcvideo: remove with lib; 2024-08-30 22:59:23 +02:00
Felix Buehler 500d530cf8 nixos/hardware.displaylink: remove with lib; 2024-08-30 22:59:23 +02:00
Felix Buehler 8470a58158 nixos/hardware.mwProCapture: remove with lib; 2024-08-30 22:59:23 +02:00
Felix Buehler 97d41bd9af nixos/hardware.bumblebee: remove with lib; 2024-08-30 22:59:22 +02:00
Felix Buehler 09c8cfddd2 nixos/hardware.usb-storage: remove with lib; 2024-08-30 22:59:22 +02:00
Felix Buehler 1f149110c4 nixos/hardware.usb-modeswitch: remove with lib; 2024-08-30 22:59:22 +02:00
Felix Buehler 8f0023457d nixos/hardware.ubertooth: remove with lib; 2024-08-30 22:59:22 +02:00
Felix Buehler 8623af5c38 nixos/hardware.tuxedo-keyboard: remove with lib; 2024-08-30 22:59:22 +02:00
Felix Buehler 12a3b2f7af nixos/hardware.steam-hardware: remove with lib; 2024-08-30 22:59:21 +02:00
Felix Buehler 024f4f89ae nixos/hardware.sensor.iio: remove with lib; 2024-08-30 22:59:21 +02:00
Felix Buehler 4d2a1391de nixos/hpsa: remove with lib; 2024-08-30 22:59:21 +02:00
Felix Buehler 22946376a9 nixos/hardware.printers: remove with lib; 2024-08-30 22:59:21 +02:00
Felix Buehler ea6befd73f nixos/hardware.pcmcia: remove with lib; 2024-08-30 22:59:21 +02:00
Felix Buehler 76c3bcd9e3 nixos/hardware.opentabletdriver: remove with lib; 2024-08-30 22:59:20 +02:00
Felix Buehler 78026acac2 nixos/hardware.openrazer: remove with lib; 2024-08-30 22:59:20 +02:00
Felix Buehler ef54fd072b nixos/hardware.onlykey: remove with lib; 2024-08-30 22:59:20 +02:00
Felix Buehler b9bdcccba7 nixos/hardware.nitrokey: remove with lib; 2024-08-30 22:59:20 +02:00
Felix Buehler cf7feaca47 nixos/hardware.new-lg4ff: remove with lib; 2024-08-30 22:59:19 +02:00
Felix Buehler f31bf6ed29 nixos/networking.enableB43Firmware: remove with lib; 2024-08-30 22:59:19 +02:00
Felix Buehler e1e8351aaa nixos/networking.wireless.athUserRegulatoryDomain: remove with lib; 2024-08-30 22:59:09 +02:00