Commit graph

610 commits

Author SHA1 Message Date
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
Felix Buehler
21ed56970e nixos/hardware.mcelog: remove with lib; 2024-08-30 22:58:34 +02:00
Felix Buehler
94dbe54a8d nixos/hardware.logitech: remove with lib; 2024-08-30 22:58:33 +02:00
Felix Buehler
3036edd1c1 nixos/hardware.ledger: remove with lib; 2024-08-30 22:58:33 +02:00
Felix Buehler
55f4ce28c8 nixos/hardware.ksm: remove with lib; 2024-08-30 22:58:33 +02:00
Felix Buehler
d485dfece4 nixos/hardware.digitalbitbox: remove with lib; 2024-08-30 22:58:33 +02:00
Felix Buehler
5a78f2c772 nixos/intel-sgx: remove with lib; 2024-08-30 22:58:32 +02:00
Felix Buehler
9a213a3a5b nixos/intel-microcode: remove with lib; 2024-08-30 22:58:32 +02:00
Felix Buehler
921bb919d8 nixos/amd.sev: remove with lib; 2024-08-30 22:58:32 +02:00
Felix Buehler
4d24986578 nixos/amd-microcode: remove with lib; 2024-08-30 22:58:32 +02:00
Felix Buehler
e880cd1549 nixos/hardware.infiniband: remove with lib; 2024-08-30 00:30:37 +02:00
Felix Buehler
58e31e0c26 nixos/hardware.i2c: remove with lib; 2024-08-30 00:30:37 +02:00
Felix Buehler
6d731ad2df nixos/hardware.gpgSmartcards: remove with lib; 2024-08-30 00:30:37 +02:00
Felix Buehler
166d20fb46 nixos/hardware.gkraken: remove with lib; 2024-08-30 00:30:37 +02:00
Felix Buehler
6f3aef9bde nixos/hardware.flipperzero: remove with lib; 2024-08-30 00:30:36 +02:00
Felix Buehler
0dac464dc8 nixos/hardware/deviceTree: remove with lib; 2024-08-30 00:30:34 +02:00
Felix Buehler
f41312d751 nixos/hardware.corectrl: remove with lib; 2024-08-29 23:48:11 +02:00
Felix Buehler
dd93025972 nixos/hardware.ckb-next: remove with lib; 2024-08-29 23:48:11 +02:00
Felix Buehler
374ad8d316 nixos/hardware.brillo: remove with lib; 2024-08-29 23:48:11 +02:00
Felix Buehler
6c0e1c7a9d nixos/hardware.bladeRF: remove with lib; 2024-08-29 23:48:10 +02:00
Felix Buehler
930af3e533 nixos/hardware.enableAllFirmware: remove with lib; 2024-08-29 23:48:10 +02:00
Felix Buehler
be8d4ec87e nixos/hardware.acpilight: remove with lib; 2024-08-29 23:48:10 +02:00