summary refs log tree commit diff
path: root/nixos/modules/hardware
Commit message (Collapse)AuthorAge
* Merge pull request #262135 from Kiskae/nvidia-udev-fixTimothy DeHerrera2023-10-24
|\ | | | | nixos/nvidia: partially revert #181674
| * nixos/nvidia: partially revert #181674Kiskae2023-10-19
| | | | | | | | | | nvidia has changed the name of the chardev in the latest beta driver. Match the behavior of `nvidia-modprobe` and hardcode the major number.
* | nixos/hardware/cpu/intel/msr: initLorenz Leutgeb2023-10-22
| |
* | nixos: fix bad mkEnableOption descriptionsBjørn Forsman2023-10-20
|/ | | | | Fix descriptions that don't account for (1) the "Whether to enable" prefix or (2) the automatically added trailing dot.
* Merge pull request #251898 from ktrinh-anduril/ktrinh/improve-devicetree-infraRyan Lahfa2023-10-07
|\
| * nixos/device-tree: Allow custom dtbSource and expose compileDtsktrinh2023-09-24
| |
* | treewide: use `pkgs.config` instead of `config.nixpkgs.config`K9002023-10-01
| | | | | | | | | | | | `pkgs` may be passed in externally, in which case `config.nixpkgs.config` will not be set. Follow-up to #257458.
* | nixos/amdgpu-pro: remove `nixpkgs.config` usageK9002023-09-26
| | | | | | | | | | A new X.org ABI is exceptionally unlikely at this point, and we can add an assertion if it ever happens.
* | Merge pull request #248372 from yaxitech/amd-sev-guestRyan Lahfa2023-09-25
|\ \
| * | nixos/amd.sev: add `hardware.cpu.amd.sevGuest` optionVincent Haupert2023-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow setting the owner, group and mode of the `/dev/sev-guest` device, similar to what is already possible for `/dev/sev` through the `hardware.cpu.amd.sev` options. The `/dev/sev` device is available to AMD SEV hosts, e.g., to start an AMD SEV-SNP guest. In contrast, the `/dev/sev-guest` device is only available within SEV-SNP guests. The guest uses the device, for example, to request an attestation report. Linux has in-tree support for SEV-SNP guests since 5.19.
* | | nixos/glasgow: init hardware moduleRobert Gerus2023-09-21
|/ /
* | nixos/nvidia: don't assume x11 is used..Edward Tjörnhammar2023-09-14
| |
* | nvidia,nixos/nvidia: add datacenter drivers compatible with default cudaPkgsEdward Tjörnhammar2023-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For NVLink topology systems we need fabricmanager. Fabricmanager itself is dependent on the datacenter driver set and not the regular x11 ones, it is also tightly tied to the driver version. Furhtermore the current cudaPackages defaults to version 11.8, which corresponds to the 520 datacenter drivers. Future improvement should be to switch the main nvidia datacenter driver version on the `config.cudaVersion` since these are well known from: > https://docs.nvidia.com/deploy/cuda-compatibility/index.html#use-the-right-compat-package This adds nixos configuration options `hardware.nvidia.datacenter.enable` and `hardware.nvidia.datacenter.settings` (the settings configure fabricmanager) Other interesting external links related to this commit are: * Fabricmanager download site: - https://developer.download.nvidia.com/compute/cuda/redist/fabricmanager/linux-x86_64/ * Data Center drivers: - https://www.nvidia.com/Download/driverResults.aspx/193711/en-us/ Implementation specific details: * Fabricmanager is added as a passthru package, similar to settings and presistenced. * Adds `use{Settings,Persistenced,Fabricmanager}` with defaults to preserve x11 expressions. * Utilizes mkMerge to split the `hardware.nvidia` module into three comment delimited sections: 1. Common 2. X11/xorg 3. Data Center * Uses asserts to make the configurations mutualy exclusive. Notes: * Data Center Drivers are `x86_64` only. * Reuses the `nvidia_x11` attribute in nixpkgs on enable, e.g. doesn't change it to `nvidia_driver` and sets that to either `nvidia_x11` or `nvidia_dc`. * Should have a helper function which is switched on `config.cudaVersion` like `selectHighestVersion` but rather `selectCudaCompatibleVersion`.
* | nixos/decklink: inithexchen2023-09-09
| |
* | nixos/infiniband: add support for configurable guidsEdward Tjörnhammar2023-09-07
|/
* Merge pull request #244060 from Gerg-L/nvidiaDynamicBoostFranz Pletz2023-08-10
|\ | | | | nixos/nvidia: clean up and add dynamic boost
| * nixos/nvidia: add Dynamic Boost supportGerg-L2023-08-03
| |
| * nixos/nvidia: cleaned up reorganized and reformattedGerg-L2023-07-18
| |
* | Merge pull request #244572 from MinerSebas/usb-modeswitch-module-renameNick Cao2023-07-25
|\ \ | | | | | | nixos/usb-modeswitch: Rename module from usbWwan
| * | nixos/usb-modeswitch: Rename module from usbWwanMinerSebas2023-07-25
| |/
* | Merge pull request #225055 from jtrees/update-wooting-udev-rulesSandro2023-07-24
|\ \ | |/ |/| wooting: update udev rules
| * wooting: clarify requirements for hardware option to workJoshua Trees2023-07-24
| |
* | rtl8723bs-firmware: cleanupLein Matsumaru2023-07-03
| |
* | Merge pull request #232415 from jensbin/displaylink57Pol Dellaiera2023-06-28
|\ \ | | | | | | displaylink: 5.6.1-59.184 -> 5.7.0-61.129
| * | displaylink: 5.6.1-59.184 -> 5.7.0-61.129Jens Binkert2023-06-26
| | |
* | | nixos/nvidia: fix typo in PRIME/nvidiaBusID assertionseth2023-06-21
| | |
* | | Merge pull request #235202 from SuperSandro2000/intel-vaapi-driverFranz Pletz2023-06-21
|\ \ \
| * | | vaapiIntel: rename to intel-vaapi-driverSandro Jäckel2023-05-31
| | | | | | | | | | | | | | | | | | | | I tripped over this way to often and a package attr matching the pname is way nicer, anyway.
* | | | Merge pull request #236048 from rnhmjoj/pr-fix-i2cMichele Guerini Rocco2023-06-07
|\ \ \ \ | |/ / / |/| | | nixos/hardware/i2c: fix uaccess rule
| * | | nixos/hardware/i2c: fix uaccess rulernhmjoj2023-06-04
| | |/ | |/|
* | | nixos: fix typosfigsoda2023-05-19
| |/ |/|
* | nixos/hardware/ipu6: Improve the enable descriptionMartin Weinelt2023-04-10
| | | | | | | | | | | | The module is doing much more than just enabling the ipu6 kernel module, so extending the enable options scope to support for these camera modules seems a better fit.
* | Merge pull request #225325 from K900/no-mesa-multiversioningK9002023-04-10
|\ \ | | | | | | Revert "nixos/opengl: add mesaPackage option"
| * | Revert "nixos/opengl: add mesaPackage option"K9002023-04-08
| |/ | | | | | | This reverts commit bf1785d0a91d5d3bb0ef3c2afe031554f17a87e4.
* / nixos/hardware/ipu6: initbetaboon2023-04-09
|/
* nixos/nvidia: use correct attributeKiskae2023-04-01
|
* nixos/nvidia: allow package to override IBT supportKiskae2023-04-01
|
* NixOS/opengl: Use the default Mesa package by default.r-vdp2023-03-28
| | | | | Fixes #223458 Fixes #223331
* Merge pull request #222762 from Kiskae/nvidia/530.41.03Nick Cao2023-03-28
|\ | | | | linuxPackages.nvidia_x11: 525.89.02 -> 530.41.03
| * nixos/nvidia: re-enable IBT for newer driversKiskae2023-03-24
| |
* | Merge pull request #223242 from panicgh/nitrokey-libnitrokeyRyan Lahfa2023-03-27
|\ \ | | | | | | libnitrokey: init at 3.8
| * | nitrokey-udev-rules: replace with libnitrokeyNicolas Benes2023-03-27
| |/
* | nixos/opengl: fix wrong function applicationAtemu2023-03-26
| | | | | | | | No idea how that one slipped through. Thanks for catching @maxeaubrey!
* | nixos/opengl: mesa_22 -> mesa_23Atemu2023-03-25
| |
* | mesa: provide patch versionsAtemu2023-03-25
| | | | | | | | | | | | This allows us to bump the mesa attribute (used by many packages, see https://github.com/NixOS/nixpkgs/issues/218232) independently from the packages used by NixOS users.
* | nixos/opengl: add mesaPackage optionAtemu2023-03-25
|/
* nixos/hidpi: removeK9002023-03-21
| | | | | | | | | | | | | The single option tries to do too much work, which just ends up confusing people. So: - don't force the console font, the kernel can figure this out as of #210205 - don't force the systemd-boot mode, it's an awkward mode that's not supported on most things and will break flicker-free boot - add a separate option for the xorg cursor scaling trick and move it under the xorg namespace - add a general `fonts.optimizeForVeryHighDPI` option that explicitly says what it does - alias the old option to that - don't set any of those automatically in nixos-generate-config
* Merge pull request #194594 from nbraud/hidpiRyan Lahfa2023-03-19
|\ | | | | nixos/hidpi: Harmonise default with documented recommendations
| * nixos/hidpi: Explicitely refer to fontconfig.nix for the choice of defaultsnicoo2023-03-12
| |
| * nixos/hidpi: Minor refactornicoo2023-03-03
| |