summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware
AgeCommit message (Collapse)Author
2020-04-01nixos/iio: adjust formatting of option description.Dave Anderson
Co-Authored-By: Alyssa Ross <hi@alyssa.is>
2020-04-01nixos/iio: explain why you might want IIO sensor support.David Anderson
Signed-off-by: David Anderson <dave@natulte.net>
2020-03-31xow: 0.2 -> 0.4Jan Solanti
2020-03-30xow: init at 0.2Philipp Middendorf
2020-03-22Merge pull request #75940 from davidtwco/wooting-initMatthew Bauer
wooting: init wootility, wooting-udev-rules and module
2020-03-01Merge pull request #66601 from eadwu/nvidia/prime-render-offloadJosé Romildo Malaquias
nvidia: prime render offload
2020-02-10nixos/brightnessctl: Remove the moduleMichael Weiss
Due to the support of the systemd-logind API the udev rules aren't required anymore which renders this module useless [0]. Note: brightnessctl should now require a working D-Bus setup and a valid local logind session for this to work. [0]: https://github.com/NixOS/nixpkgs/pull/79663
2020-02-03openrazer: 2.6.0 -> 2.7.0Evan Stoll
openrazer: remove superfluous period from hardware.openrazer.enable
2020-01-26nixos/tuxedo-keyboard: init module.blanky0230
2020-01-18Merge pull request #77690 from gnidorah/way-coolerworldofpeace
way-cooler: Remove
2020-01-18way-cooler: RemoveMatthias Beyer
As of 2020-01-09, way-cooler is officially dead: http://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html hence, remove the package and the module. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> docs/release-notes: remove way-cooler way-cooler: show warnings about removal Apply suggestions from code review Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch> way-cooler: add suggestion by @Infinisil
2020-01-14Merge pull request #60981 from thefloweringash/usb-modeswitchPeter Hoeg
usb_modeswitch: fixes
2020-01-02Merge pull request #76546 from matthewbauer/nvidia-fix-udev-rulesMatthew Bauer
nvidia: fix $ substitution in udev rules
2019-12-30nixos/nvidia: add nvidia-uvm-tools deviceMatthew Bauer
Related to https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1767777
2019-12-26nvidia: fix $ substitution in udev rulesMatthew Bauer
This fixes a harmless error from systemd-udevd that looks like: Dec 23 15:35:23 dellbook systemd-udevd[696]: /nix/store/iixya3ni5whybpq9zz1h7f4pyw7nhd19-udev-rules/99-local.rules:25 Invalid value "..." for RUN (char 101: invalid substitution type), ignoring, but please fix it. Using $$ fixes it using the escaping documented at https://www.freedesktop.org/software/systemd/man/udev.html.
2019-12-19nixos/wooting: add `hardware.wooting` moduleDavid Wood
Signed-off-by: David Wood <david.wood@codeplay.com>
2019-12-10nixos/nvidia: implement prime render offloadEdmund Wu
2019-12-10nixos/xserver: introduce attr display to xserver.driversEdmund Wu
Specifically for NVIDIA so that only the device section would be created
2019-12-10nixos/nvidia: prime.sync.{intel,nvidia}BusId -> prime.{intel,nvidia}BusIdEdmund Wu
2019-12-10nixos/nvidia: optimus_prime -> prime.syncEdmund Wu
2019-12-10nixos/nvidia: remove lib referencesEdmund Wu
2019-12-10nixos/treewide: Move rename.nix imports to their respective modulesSilvan Mosberger
A centralized list for these renames is not good because: - It breaks disabledModules for modules that have a rename defined - Adding/removing renames for a module means having to find them in the central file - Merge conflicts due to multiple people editing the central file
2019-11-19nixos/nvidia: assert that gdm.nvidiaWayland needs modesettingworldofpeace
2019-11-19nixos/nvidia: drop gdm wayland assertionworldofpeace
2019-11-11nixos/slim: removeworldofpeace
The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to systems, no one is working on it or picked up maintenance. It also lacks compatibility with systemd and logind sessions. For users, there liikely isn't anything like slim that's as lightweight in terms of dependencies.
2019-11-03brillo: init at 1.4.8Alex Rice
2019-11-01nixos/displaylink: write out required xorg.conf fragmentPeter Hoeg
Invoke xrandr to actually connect the device. Additionally, we let systemd create the logs directory and use our module loader instead of handling it manually.
2019-10-06nixos/steam-hardware: add uinput to boot.kernelModules(cdep)illabout
uinput needs to be added to boot.kernelModules in order for the udev rules defined by steam to be run and set permissions correctly on /dev/uinput. See https://github.com/NixOS/nixpkgs/issues/70471.
2019-09-18hardware.brightnessctl: add brightnessctl to envRobin Gloster
2019-09-08treewide: remove redundant quotesvolth
2019-09-04Merge branch 'master' into staging-nextVladimír Čunát
2019-09-03Merge pull request #64552 from evanjs/feature/openrazer-2.3.1Silvan Mosberger
openrazer: init at 2.6.0
2019-09-02Merge branch 'master' into stagingVladimír Čunát
2019-09-01nixos/printers: declarative configurationFlorian Jacob
2019-08-31nixos/modules: Remove all usages of types.stringSilvan Mosberger
And replace them with a more appropriate type Also fix up some minor module problems along the way
2019-08-30nixos/hardware/openrazer: init at 2.6.0Evan Stoll
2019-08-26treewide: remove redundant quotesvolth
2019-08-17Merge staging-next into stagingFrederik Rietdijk
2019-08-15treewide: name -> pname (easy cases) (#66585)volth
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2019-08-07nixos/hardware.deviceTree: Move things aroundKai Wohlfahrt
In response to comments, create a sub-folder for deviceTree packages (starting with rpi), and a top-level package for helpers.
2019-08-07nixos/hardware.deviceTree: new moduleKai Wohlfahrt
Add support for custom device-tree files, and applying overlays to them. This is useful for supporting non-discoverable hardware, such as sensors attached to GPIO pins on a Raspberry Pi.
2019-07-11Merge pull request #63894 from ambrop72/no-opengl-xdg-data-dirsworldofpeace
nixos/opengl: Don't set XDG_DATA_DIRS.
2019-07-11Merge pull request #61981 from ambrop72/no-opengl-ld-library-pathworldofpeace
nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.
2019-07-06nixos/ksm: add option sleepIzorkin
2019-06-28nixos/opengl: Don't set XDG_DATA_DIRS.Ambroz Bizjak
This was added in #19936 so that vulkan-loader finds the ICD config files. It is not needed any more after #62869 where it was ensured that the loader looks in /run/opengl-driver(-32)/share.
2019-06-18Merge staging-next into stagingFrederik Rietdijk
2019-06-17treewide: mesa_noglu, mesa_drivers, libGL_driver -> mesaMatthew Bauer
Just use mesa for these to be more clear. Move these to aliases.nix
2019-06-16treewide: remove unused variables (#63177)volth
* treewide: remove unused variables * making ofborg happy
2019-05-26nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.Ambroz Bizjak
A new internal option `hardware.opengl.setLdLibraryPath` is added which controls if `LD_LIBRARY_PATH` should be set to `/run/opengl-driver(-32)/lib`. It is false by default and is meant to be set to true by any driver which requires it. If this option is false, then `opengl.nix` and `xserver.nix` will not set `LD_LIBRARY_PATH`. Currently Mesa and NVidia drivers don't set `setLdLibraryPath` because they work with libglvnd and do not override libraries, while `amdgpu-pro`, `ati` and `parallels-guest` set it to true (the former two really need it, the last one doesn't build so is presumed to). Additionally, the `libPath` attribute within entries of `services.xserver.drivers` is removed. This made `xserver.nix` add the driver path directly to the `LD_LIBRARY_PATH` for the display manager (including X server). Not only is it redundant when the driver is added to `hardware.opengl.package` (assuming that `hardware.opengl.enable` is true), in fact all current drivers except `ati` set it incorrectly to the package path instead of package/lib. This removal of `LD_LIBRARY_PATH` could break certain packages using CUDA, but only those that themselves load `libcuda` or other NVidia driver libraries using `dlopen` (not if they just use `cudatoolkit`). A few have already been fixed but it is practically impossible to test all because most packages using CUDA are libraries/frameworks without a simple way to test. Fixes #11434 if only Mesa or NVidia graphics drivers are used.
2019-05-06nixos/all-firmware: Enable facetimehd only for i686/x86_64Bastian Köcher