summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/hardware
AgeCommit message (Collapse)Author
2024-07-29treewide: remove unused with statements from maintainer listsJörg Thalheim
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
2024-07-28Merge pull request #326224 from NickCao/udev-kvmFranz Pletz
2024-07-24Merge pull request #328459 from onny/sane-backends-fixGuillaume Girol
sane-backends: 1.2.1 -> 1.3.1
2024-07-22sane-backends: configure and use lock dirJonas Heinrich
2024-07-18Merge pull request #323466 from andersk/grep-straylassulus
nixos/udev: Fix `grep: warning: stray \ before /`
2024-07-18nixos/hardware.display: initKrzysztof Nazarewski
2024-07-10nixos/udev: remove rules for /dev/kvmNick Cao
Permissions on /dev/kvm are already specified by tmpfiles.d rules Reference: https://github.com/systemd/systemd/blob/v255/tmpfiles.d/static-nodes-permissions.conf.in#L18
2024-06-29nixos/udev: Fix grep: warning: stray \ before /Anders Kaseorg
This reverts commit dbe2325603420a89aa030994138bb54167fab81d, which was mistaken: `/` matches exactly the same things matched by `\/` but without the warning. Fixes #316561. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-06-26treewide: replace mkPackageOptionMD with mkPackageOptionéclairevoyant
2024-06-25treewide: remove jonringer as package maintainerPaul Meyer
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-06-21nixos/amdgpu: cleanup occurance of hardware.openglJohn Titor
Unfortunately this got missed in https://github.com/NixOS/nixpkgs/pull/320228
2024-06-20Merge pull request #319865 from JohnRTitor/amdgpu-moduleK900
nixos/amdgpu: init module
2024-06-18nixos/amdgpu: init moduleJohn Titor
2024-06-16treewide: big opengl cleanupK900
- 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-12nixos/amdvlk: init module (#318175)Masum Reza
2024-06-08nixos/power-profiles-daemon: Add assertion with auto-cpufreqStu Small
auto-cpufreq is similar to tlp in that it shouldn't be run with power-profiles-daemon. There functionality can conflict and bugs can show up. On my system this materialized by auto-cpufreq frequently shutting down, but there may be other consequences. This change follows the same pattern as the tlp assertion
2024-06-03nixos/nvidia-optimus: add nvidia-modeset to blacklistAbílio Costa
The nvidia-modeset module is loaded, which in turn pulls in the nvidia module. This makes bbswitch fail to turn off the card since it would be in use by the module.
2024-06-03treewide: fix all obviously wrong mkEnableOptionsSandro Jäckel
2024-05-27hardware/nvidia-container-toolkit: mount `nvidia-driver/share`Rafael Fernández López
2024-05-23nixos/kanata: add a configFile optionLin Jian
This brings two benefits. For one thing, it exposes the generated config file which users can build separately to validate it. For another, it allows users to provide their own config file.
2024-05-16nixos/thermald: improve doc and code about configFile and adaptiveceleri
2024-05-11thermald: fixed handling of an external configIlya Epifanov
2024-05-08Merge pull request #302300 from Ma27/kernel-zstdLinus Heckemann
linux kernel: prefer zstd where possible
2024-05-07Merge pull request #309550 from linj-fork/pr/kanata-check-config-at-build-timePol Dellaiera
nixos/kanata: check the config file at build time
2024-05-07nixos/kanata: replace deflayer with deflayermap in config exampleLin Jian
IMHO, this style is more intuitive.
2024-05-07nixos/kanata: improve links to the upstream documentationLin Jian
2024-05-07nixos/kanata: improve example of the package optionLin Jian
Before this patch, it is rendered as "Example: kanata-with-cmd". With this patch applied, it is "Example: pkgs.kanata-with-cmd".
2024-05-06nixos/kanata: check the config file at build timeLin Jian
Before this patch, checking the config file is done at runtime. Doing so at build time shortens the feedback loop[1][2]. [1]: https://github.com/NixOS/nixpkgs/issues/278135 [2]: https://github.com/jtroo/kanata/issues/689
2024-04-27Merge pull request #304902 from SuperSandro2000/libinput-xserverSandro
nixos/libinput: move out of xserver
2024-04-24hardware/nvidia-container-toolkit: enable CDI on ↵Rafael Fernández López
`virtualisation.docker.daemon.settings`
2024-04-23Merge pull request #290979 from ereslibre/cdi-add-nvidia-docker-1-directoriesSomeone
CDI: Add `mount-nvidia-binaries` and `mount-nvidia-docker-1-directories` options
2024-04-23nixos/nvidia-container-toolkit: add `mount-nvidia-executables` and ↵Rafael Fernández López
`mount-nvidia-docker-1-directories` options - `mount-nvidia-binaries`: this option allows users to avoid mounting nvidia binaries on the container. - `mount-nvidia-docker-1-directories`: this option allows users to avoid mounting `/usr/local/nvidia/lib{,64}` on containers.
2024-04-23nixos/nvidia-container-toolkit: rename from ↵Rafael Fernández López
`virtualisation.containers.cdi.dynamic.nvidia.enable` Add the NixOS option `hardware.nvidia-container-toolkit-cdi-generator.enable`. This enables the ability to expose GPU's in containers for container runtimes that support the Container Device Interface (CDI) Remove `cdi.static` and `cdi.dynamic.nvidia.enable` attributes.
2024-04-19nixos/udev: compress firmware with zstd if possibleMaximilian Bosch
Closes #267442 $ nix path-info -Sh /nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz /nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz 440.3M $ nix path-info -Sh /nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd /nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd 460.6M This is an increase of 4.4%, but OTOH zstd has a significantly higher decompression speed[1]. [1] https://gregoryszorc.com/blog/2017/03/07/better-compression-with-zstandard/
2024-04-17nixos/libinput: move out of xserverSandro Jäckel
2024-04-17Merge pull request #300995 from SuperSandro2000/udev-nixos-wslSandro
nixos/udev: make more NixOS WSL friendly
2024-04-13nixos: remove all uses of lib.mdDocstuebinm
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2024-04-09nixos: improve many 'enable' descriptionsBjørn Forsman
2024-04-02nixos/udev: only load firmware from udev when the nixos kernel is usedSandro Jäckel
This is not the case for eg. NixOS in WSL
2024-04-02nixos/udev: don't create modprobe config if modprobe is disabledSandro Jäckel
2024-03-28brscan5: fix sane config pathanna
2024-03-09nixos/fwupd: fix silent failure for uefiCapsuleSettings to ever be addedLily Foster
Bug was introduced in 28ea07d4e33c63447e699562d0085f6eeefd6ee0.
2024-03-04Merge pull request #291828 from SomeoneSerge/refactor/cdi-nvidiaSomeone
nixos/cdi.dynamic.nvidia: expose driverLink
2024-02-27Merge pull request #245005 from Scrumplex/nixos-monadoAtemu
nixos/monado: init
2024-02-27nixos/virtualisation.containers.cdi.dynamic.nvidia: expose driverLinkSomeone Serge
..shallowly
2024-02-27nixos/virtualisation.containers.cdi.dynamic.nvidia: refactor w/ callPackageSomeone Serge
2024-02-24Merge pull request #274662 from StarGate01/pcscd-debugSandro
2024-02-24Merge pull request #282758 from rht/hardware_no_networkMichele Guerini Rocco
hddfancontrol & thinkfan: disable network access.
2024-02-23nixos/pcscd: Add extraArgs optionChristoph Honal
2024-02-23nixos/monado: prevent Monado from restarting quicklySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>