summary refs log tree commit diff
path: root/nixos/modules/hardware
Commit message (Collapse)AuthorAge
* 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.
* 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
|\
| * Merge pull request #33794 from yrashk/onlykeyMatthew Justin Bauer2018-04-09
| |\ | | | | | | config.hardware.onlykey configuration option
| | * config.hardware.onlykey configuration optionYurii Rashkovskii2018-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | By default, OnlyKey device (https://crp.to/p/) won't work on Linux (and, therefore, NixOS). This is unintuitive and requires one to search for a solution in the documentation. This change allows one to enable OnlyKey device support directly from their NixOS configuration.
* | | Merge remote-tracking branch 'origin/master' into stagingShea Levy2018-03-28
|\| |
| * | linuxPackages.nvidia_x11_legacy173: dropNikolay Amiantov2018-03-27
| | | | | | | | | | | | There's no kernel in nixpkgs suitable for this old driver -- tested with 4.4.
* | | opengl service: don't override mesa non-drivers in runtimeNikolay Amiantov2018-03-26
| | |
* | | opengl service: move options under common hardware.opengl treeNikolay Amiantov2018-03-26
| | | | | | | | | | | | Purely cosmetic.
* | | nvidia service: rely on libglvndNikolay Amiantov2018-03-26
|/ /
* | Merge pull request #33685 from corngood/amdgpu-pro-upgradeMatthew Justin Bauer2018-03-19
|\ \ | |/ |/| amdgpu-pro: 17.10 -> 17.40
| * amdgpu-pro: 17.10 -> 17.40David McFarland2018-01-12
| |
* | Merge branch 'master' into stagingJan Malakhovski2018-03-10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved the following conflicts (by carefully applying patches from the both branches since the fork point): pkgs/development/libraries/epoxy/default.nix pkgs/development/libraries/gtk+/3.x.nix pkgs/development/python-modules/asgiref/default.nix pkgs/development/python-modules/daphne/default.nix pkgs/os-specific/linux/systemd/default.nix
| * \ Merge #35554: nixos/opengl: unhide and documentVladimír Čunát2018-03-04
| |\ \
| | * | nixos/opengl: unhide and document enable optionLinus Heckemann2018-02-25
| | | |
* | | | nixos: Move uses of stdenv.shell to runtimeShell.Shea Levy2018-03-01
|/ / /
* / / digitalbitbox: init at 2.2.2 (#33787)David Asabina2018-02-27
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * digitalbitbox: init at 2.2.2 The commits that lead to this have been squashed from independent commits see branch @vidbina/add/digitalbitbox-wip that did the following: - 0a3030fa0ec digitalbitbox: init at 2.2.2 - c18ffa3ffd4 digitalbitbox: moved meta to EOF - 0c5f3d6972a digitalbitbox: using preConfigure + configureFlags - a85b1dfc3fd digitalbitbox: nativeBuildInputs - 90bdd35ef0f digitalbitbox: autoreconfHook - 91810eea055 digitalbitbox: default installPhase & makeWrapper - 90e43fb7e2a digitalbitbox: doc rm $PWD hack & printf-tee deal - fd033b2fe5a digitalbitbox: cleanup, alphabetically sort attrs - c5907982db3 digitalbitbox: added hardware module - 88e46bc9ae0 digitalbitbox: added program module - amend to change name: dbb-app -> digitalbitbox - amend to add install instructions based on feedback (https://github.com/NixOS/nixpkgs/pull/33787#issuecomment-362813149) - amend to add longDescription - moved program to its own dir - overridable udev rules handling - added docs to manual - added package attr to program module - added package attr to hardware module * digitalbitbox: use libsForQt5.callPackage
* / rtl8723bs: Only include in enableAllFirmware if validTim Steinbach2018-02-22
|/
* intel-ocl: r4.0-59481 -> 5.0-63503zimbatm2017-11-01
|
* Revert "include firmware with enableAllFirmware"Peter Hoeg2017-10-14
| | | | This reverts commit bd5fd61967221ed6ba2674ee009126467a596b84.
* include firmware with enableAllFirmwarePeter Hoeg2017-10-14
|
* nixos/modules: clean up wireless firmware optionsFranz Pletz2017-10-07
| | | | | | All available options were just enabling hardware.enableRedistributableFirmware. There were nix files without modules which weren't referenced anywhere.
* nvidia-x11: fix eval error from 4ef82339c9Cray Elliott2017-09-28
|
* nixos/gdm,nvidia: new options to enable GDM on Wayland and disabling it for ↵Rostislav Beneš2017-09-28
| | | | nvidia drivers.
* nixos/nvidia: populating /dev with nvidia devices at bootRostislav Beneš2017-09-28
|
* hpsa service: fallout from #28557 merge and revertVladimír Čunát2017-09-13
|
* nixos/hardware/raid/hpsa: Use NIX_BINUTILSJohn Ericson2017-09-03
| | | | NIX_CC no longer includes nix-support/dynamic-linker
* nixos/hardware/raid/hpsa: init at 2.40Volth2017-08-01
|
* mcelog: use .service file from upstreamPeter Hoeg2017-07-27
|
* nvidia module: link proper output as OpenGL driversNikolay Amiantov2017-05-31
|
* nvidia module: allow .persistenced == nullVladimír Čunát2017-05-30
| | | | | Fixes #26250. This is fallout from PR #22304. It's null for 304 and 173 legacy drivers.
* nitrokey module: initFranz Pletz2017-05-26
|
* displaylink: 1.1.62 -> 1.3.52Nikolay Amiantov2017-05-19
|
* hardware.enableRedistributableFirmware: fix spelling errorJörg Thalheim2017-05-09
|
* hardware: add enableRedistributalFirmwareJörg Thalheim2017-05-09
| | | | | | | | Due the recent inclusion of broadcom-bt-firmware in enableAllFirmware, it was required to set `nixpkgs.config.allowUnfree` to obtain the full list. To make this dependency more explicit an assertion is added and an alternative option `enableRedistributalFirmware` is provided to only obtain firmware with an license allowing redistribution.
* broadcom-bt-firmware: revert to unfreeJörg Thalheim2017-05-08
| | | | | | | license was misinterpreted, it is now only conditionally in the all firmware list included, if `allowUnfree` is set. fixes #25567
* broadcom-bt-firmware: init at 12.0.1.1011zraexy2017-05-03
| | | | | broadcom-bt-firmware: init at 12.0.1.1011
* rtl8192su-firmware: init at unstable-2016-10-05Jörg Thalheim2017-03-31
|
* Merge pull request #17303 from peterhoeg/iioPeter Hoeg2017-03-14
|\ | | | | iio-sensor-proxy: init at 2.2 and nixos module
| * iio-sensor-proxy: init at 2.2 and nixos modulePeter Hoeg2017-02-25
| | | | | | | | | | | | | | | | | | This PR adds support for ```iio-sensor-proxy``` used by GNOME v3 and others for reading data from the accelerometer, gps, compass and similar sensors built into some relatively recent laptops. Additionally, there is a NixOS module exposed via hardware.sensor.iio for enabling services, udev rules and dbus services.