about summary refs log tree commit diff
path: root/nixos/modules/hardware
Commit message (Collapse)AuthorAge
* Merge pull request #63894 from ambrop72/no-opengl-xdg-data-dirsworldofpeace2019-07-11
|\ | | | | nixos/opengl: Don't set XDG_DATA_DIRS.
| * nixos/opengl: Don't set XDG_DATA_DIRS.Ambroz Bizjak2019-06-28
| | | | | | | | | | | | 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.
* | Merge pull request #61981 from ambrop72/no-opengl-ld-library-pathworldofpeace2019-07-11
|\ \ | | | | | | nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.
| * | nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.Ambroz Bizjak2019-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | nixos/ksm: add option sleepIzorkin2019-07-06
| |/ |/|
* | Merge staging-next into stagingFrederik Rietdijk2019-06-18
|\ \
| * | treewide: remove unused variables (#63177)volth2019-06-16
| |/ | | | | | | | | | | * treewide: remove unused variables * making ofborg happy
* / treewide: mesa_noglu, mesa_drivers, libGL_driver -> mesaMatthew Bauer2019-06-17
|/ | | | Just use mesa for these to be more clear. Move these to aliases.nix
* nixos/all-firmware: Enable facetimehd only for i686/x86_64Bastian Köcher2019-05-06
|
* nixos/nvidia: Add NVIDIA optimus option to allow external GPUsColin L Rice2019-05-02
| | | | Without this option - NVIDIA refuses to use an external GPU.
* Merge pull request #57337 from peterhoeg/m/logitechPeter Hoeg2019-04-03
|\ | | | | nixos: better support for logitech devices and update relevant packages
| * logitech (nixos): support module for logitech input devicesPeter Hoeg2019-03-19
| |
* | nixos: make hardware.enableAllFirmware enable *all* firmwareSymphorien Gibol2019-03-28
|/
* nixos/docker: add enableNvidia optionAverell Dalton2019-02-27
|
* Merge pull request #56220 from SeTSeR/masterElis Hirwing2019-02-24
|\ | | | | acpilight: init at 1.1
| * acpilight: init at 1.1Sergey Makarov2019-02-24
| | | | | | | | Use pname instead of manual adding version to package name
* | Merge pull request #50504 from symphorien/local-closureInfoSilvan Mosberger2019-02-22
|\ \ | | | | | | nixos: add preferLocalBuild=true; on derivations for config files and closureInfo
| * | nixos: add preferLocalBuild=true; on derivations for config filesSymphorien Gibol2019-02-22
| |/
* / nixos/ledger: initLorenzo Manacorda2019-02-22
|/
* Merge pull request #53511 from joachifm/kernel-32bit-emu-feature-flagJoachim F2019-01-25
|\ | | | | linux: flag to indicate 32bit emulation support
| * nixos/opengl: assert 32bit emu support if 32bit support is enabledJoachim Fasting2019-01-06
| | | | | | | | See https://github.com/NixOS/nixpkgs/issues/51097
* | nixos/all-firmware: include raspberrypiWirelessFirmware when buildingMatthew Bauer2019-01-03
|/
* Merge pull request #51294 from eadwu/nvidia_x11/legacy_390Dmitry Kalinkin2018-12-27
|\ | | | | nvidia: expose nvidia_x11_legacy390
| * nvidia: expose nvidia_x11_legacy390Edmund Wu2018-11-30
| |
* | Merge pull request #47297 from greydot/bladerfmarkuskowa2018-12-18
|\ \ | | | | | | Introduce hardware/bladeRF module
| * | nixos/hardware/bladeRF: init at 2.0.2Lana Black2018-12-18
| | | | | | | | | | | | | | | This allows to easily enable bladerf-related udev rules with nixos configuration.
* | | nvidia: Improve assertion documentationSvein Ove Aas2018-12-12
| | |
* | | nixos/nvidia: improve the assertion againVladimír Čunát2018-12-12
| | | | | | | | | | | | /cc ac19d5e34 #51836.
* | | nixos/nvidia: fix inverted assertionAndrew Childs2018-12-11
| |/ |/|
* | nixos/hpsa: use httpsc0bw3b2018-11-24
| |
* | nixos/ckb: Add option to restrict access to the devices to a particular groupNadrieril2018-11-15
| | | | | | | | fixes #34064
* | ckb-next: move option renames to nixos/modules/rename.nix for consistencyKier Davis2018-11-06
| |
* | Merge branch 'master' into ckb-update-and-cleanupKier Davis2018-11-06
|\ \
| * | treewide: remove pkgs_i686Matthew Bauer2018-11-03
| | | | | | | | | | | | | | | | | | This was getting evaluated eagerly causing assertion failures in aarch64 systems. We can replace usages of pkgs_i686 with pkgs.pkgsi686Linux.
* | | ckb module: use exec when starting the daemon processKier Davis2018-10-22
| | | | | | | | | | | | | | | This avoids leaving the parent shell process (the one executing the unit script) lying around.
* | | ckb, ckb module: rename to ckb-nextKier Davis2018-10-22
| | | | | | | | | | | | The upstream package has officially changed its name to ckb-next.
* | | ckb module: update systemd service parameters to match upstreamKier Davis2018-10-22
| | | | | | | | | | | | | | | This changes the description and restart mode to the values present in lib/systemd/system/ckb.service within the ckb package.
* | | ckb-next: 0.2.9 -> 0.3.2Kier Davis2018-10-22
|/ / | | | | | | | | | | | | | | | | | | In this update: * binaries `ckb` and `ckb-daemon` are renamed to `ckb-next` and `ckb-next-daemon` * build system changed from qmake to cmake * the directory searched for animation plugins no longer needs to be patched, as a result of the build system change * modprobe patch has been bumped, since the source repository layout has changed * the cmake scripts are quite FHS-centric and require patching to fix install locations
* | nvidia_x11_beta: reinit at 410.57Edmund Wu2018-10-17
| |
* | Merge pull request #42846 from ambrop72/optimus-prime-config-masterMatthew Bauer2018-10-03
|\ \ | | | | | | nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
| * | nixos/xserver: Implement configuration of NVIDIA Optimus via PRIMEAmbroz Bizjak2018-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds configuration options which automate the configuration of NVIDIA Optimus using PRIME. This allows using the NVIDIA proprietary driver on Optimus laptops, in order to render using the NVIDIA GPU while outputting to displays connected only to the integrated Intel GPU. It also adds an option for enabling kernel modesetting for the NVIDIA driver (via a kernel command line flag); this is particularly useful together with Optimus/PRIME because it fixes tearing on PRIME-connected screens. The user still needs to enable the Optimus/PRIME feature and specify the bus IDs of the Intel and NVIDIA GPUs, but this is still much easier for users and more reliable. The implementation handles both the X configuration file as well as getting display managers to run certain necessary `xrandr` commands just after X has started. Configuration of commands run after X startup is done using a new configuration option `services.xserver.displayManager.setupCommands`. Support for this option is implemented for LightDM, GDM and SDDM; all of these have been tested with this feature including logging into a Plasma session. Note: support of `setupCommands` for GDM is implemented by making GDM run the session executable via a wrapper; the wrapper will run the `setupCommands` before execing. This seemed like the simplest and most reliable approach, and solves running these commands both for GDM's X server and user X servers (GDM starts separate X servers for itself and user sessions). An alternative approach would be with autostart files but that seems harder to set up and less reliable. Note that some simple features for X configuration file generation (in `xserver.nix`) are added which are used in the implementation: - `services.xserver.extraConfig`: Allows adding arbitrary new sections. This is used to add the Device section for the Intel GPU. - `deviceSection` and `screenSection` within `services.xserver.drivers`. This allows the nvidia configuration module to add additional contents into the `Device` and `Screen` sections of the "nvidia" driver, and not into such sections for other drivers that may be enabled.
* | | Merge pull request #47563 from jameysharp/unscriptedJörg Thalheim2018-10-02
|\ \ \ | | | | | | | | Replace several activation script snippets with declarative configuration
| * | | nixos/opengl: create /run/opengl-driver using tmpfiles.dJamey Sharp2018-09-30
| | |/ | |/| | | | | | | | | | Anything that uses OpenGL starts after sysinit.target, so systemd-tmpfiles runs before anything that needs these symlinks.
* / | nixos/steam-hardware: module initnyanloutre2018-09-30
|/ /
* | [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
| |
* | raspberrypiWirelessFirmware: initBen Wolsieffer2018-07-12
| |
* | nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
|/
* brightnessctl: init at 0.3.2 (#42102)dje43212018-06-16
| | | | | | * brightnessctl: init at 0.3.2 * Revised PR
* nixos/uvcvideo.dynctrl: InitRaymond Gauthier2018-06-11
|
* Merge branch 'master' into stagingRobert Schütz2018-04-10
|\