Commit graph

683 commits

Author SHA1 Message Date
OPNA2608 ee25f37003 gkraken,nixos/gkraken: Drop
It was switched to maintenance mode on 2020-12-09[1], and marked deprecated in favour of Coolero/CoolerControl on 2022-02-23[2].

We have CoolerControl packaged since 24.05[3], so we can now drop gkraken.

[1]: https://gitlab.com/leinardi/gkraken/-/releases/0.14.5
[2]: https://gitlab.com/leinardi/gkraken/-/releases/1.2.0
[3]: c981cb00dd
2024-11-23 14:40:23 +01:00
Martin Weinelt 2b2a669741
nixos/coral: init
Provides a small wrapper to enable support for Coral USB and PCIe
devices.
2024-11-22 17:59:34 +01:00
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
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
Kiskae ef3b6ad33d nixos/nvidia: allow the gsp to be toggled independently from open source driver
fixes #323886
2024-08-25 21:51:17 +02:00
Kiskae 20c5d0adfb nixos/nvidia: make the nvidia driver variant a mandatory user choice
fixes #329450
2024-08-25 21:47:29 +02:00
eljamm 4548c39286
nixos/nvidia: fix CUDA for open driver
For the open driver, the `nvidia-uvm` module does not auto-load after
`nvidia`, which makes CUDA not work.

In this case, we need to add it to `boot.kernelModules` for it to work
again.
2024-08-13 11:56:10 +01:00
Shea Levy a9f862f7ab
Merge remote-tracking branch 'shlevy/ipu6-upstream' 2024-08-04 09:11:17 -04:00
Sandro 03dfa4c1da
Merge pull request #330260 from Luflosi/add/eg25-manager
eg25-manager: init at 0.4.6
2024-08-03 18:23:27 +02:00
Shea Levy 3bfeae1428
ipu6: Don't build out-of-tree driver for kernels that have it 2024-08-02 17:30:42 -04:00
Sandro e4a6568004
Merge pull request #312403 from alois31/rtw88 2024-07-31 13:14:18 +02:00
Alois Wohlschlager ec60e56b26
rtw88-firmware: drop
It's all part of linux-firmware now.
2024-07-31 10:26:51 +02:00
Franz Pletz 1e00e90307
Merge pull request #329450 from Kiskae/nvidia/560.28.03 2024-07-29 09:19:52 +02:00
Aleksana a07da9722d
Merge pull request #330664 from Mic92/empty-with
treewide: remove unused `with` statements from maintainer lists
2024-07-29 15:01:57 +08:00
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
oddlama c15eea348d
nixos/nvidia: fix potential null value in versionOlder check 2024-07-29 01:58:55 +02:00
Sandro Jäckel 83c0ed1fe8
nixos/nvidia: drop nvidia-vaapi-driver from 32bit drivers
nvidia-vaapi-driver is designed to work with firefox which is 64bit
only. On my system this adds almost 600 MiB closure size.
2024-07-27 18:31:03 +02:00
Luflosi a61d4728e8
nixos/eg25-manager: init 2024-07-27 10:42:45 +02:00
Kiskae bfeb6e74cf nixos/nvidia: default open for version 560+ 2024-07-23 22:41:30 +02:00
Franz Pletz 38953c157e
Merge pull request #326369 from getchoo/nixos/nvidia/modesetting 2024-07-23 14:16:56 +02:00
Sandro 99fe5240da
Merge pull request #325811 from Naxdy/work/blackmagic 2024-07-15 16:41:11 +02:00
Naxdy 73ffe01d1a
nixos/decklink: init 2024-07-14 20:42:52 +02:00
seth e708e7a14d
nixos/nvidia: enable modesetting by default on driver versions >= 535 2024-07-11 15:14:28 -04:00
Charles Hall 142c8ab9a4
nixos/nvidia: enable fbdev when available
In my experience this is required to get Plasma 6 Wayland to work on
my GTX 1080 with the proprietary driver. Otherwise, I get errors in my
`journalctl --user` about "MESA-LOADER: failed to open simpledrm" (among
many other things) and Plasma just presents a black screen with a cursor
and nothing else.

I discovered this by searching the aforementioned error and found
[this Arch Linux forum post][0] and some further clicking around led
me to [this section on the ArchWiki][1], which is where I got the
`versionAtLeast` value from.

Tested with `nvidia-x11-555.58-6.9.7`.

[0]: https://bbs.archlinux.org/viewtopic.php?id=293741
[1]: https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting
2024-07-05 16:24:12 -07:00
hexchen 2104f810b0 decklink, blackmagic-desktop-video: drop package and module
I am the singular maintainer for these packages. They are difficult to
maintain and are going to start to bitrot pretty much as soon as BMD
releases new software versions. Therefore, I am not only removing myself
as the maintainer but dropping them entirely.
2024-07-02 17:26:03 +00:00
Someone 35a472db57
Merge pull request #320830 from philiptaron/nixos-nvidia-change-datacenter-defaults
nixos/nvidia: move TOPOLOGY_FILE_PATH and DATABASE_PATH into nvidia-fabricmanager service definition
2024-06-27 15:56:29 +00:00
Philip Taron 70ff215449
nixos/nvidia: move the TOPOLOGY_FILE_PATH and DATABASE_PATH keys from hardware.nvidia.datacenter.settings default into the service file 2024-06-18 10:01:20 -07:00
K900 1e3c610b84 nixos/hardware/video/virtualbox: move from generic opengl module 2024-06-16 14:11:33 +03:00
K900 98cef4c273 treewide: big opengl cleanup
- rename hardware.opengl to hardware.graphics
- remove hardware.opengl.driSupport, which does nothing
- remove hardware.opengl.setLdLibraryPath, which should never be done
- rename hardware.opengl.driSupport32Bit to hardware.graphics.enable32Bit
- lost of small docs / formatting cleanups
2024-06-16 14:11:33 +03:00
K900 951601ccab treewide: drop amdgpu-pro
It's dead, Jim.
2024-06-16 13:39:52 +03:00
Sandro Jäckel 319c97cfcb
nixos/nvidia: fix eval with virtualisation.docker.enableNvidia enabled 2024-06-11 16:02:24 +02:00