about summary refs log tree commit diff
path: root/nixos/modules/hardware
AgeCommit message (Collapse)AuthorFilesLines
2022-12-25Merge pull request #205648 from SuperSandro2000/hardware-openglSandro1-11/+15
2022-12-17nixos: fix typosfigsoda3-3/+3
2022-12-11nixos/opengl: cleanup suggestions for extraPackagesSandro Jäckel1-11/+15
- libvdpau-va-gl supports only H.264 - vaapiVdpau is unmaintained for 10 years
2022-11-10treewide: use `mkEnableOption` in nixos modulesDaniel Nagy3-5/+4
2022-11-03Merge pull request #185688 from bb2020/usbstorAnderson Torres1-0/+20
nixos/usbStorage: add new option
2022-10-10treewide: optional -> optionals where the argument is a listArtturin1-1/+1
the argument to optional should not be list
2022-10-05Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt1-1/+1
2022-10-04maintainers: remove superherointjsuperherointj1-1/+1
2022-10-01Merge master into staging-nextgithub-actions[bot]1-1/+1
2022-09-26treewide: makeWrapper to nativeBuildInputsArtturin1-1/+3
this should be all of them other than the failed splices found with nixpkgs-lint
2022-09-20linuxPackages.xpadneo: 0.9.4 -> 0.9.5Kira Bruneau1-1/+1
2022-09-03nixos/nvidia: replace IFD based assertion on power management support with ↵Nick Cao1-5/+2
version constraint
2022-08-31nixos/*: convert options with listingspennae1-7/+7
minor rendering changes.
2022-08-31nixos/*: convert internal option descriptions to MDpennae2-7/+7
we'll have to do it eventually, may as well be now.
2022-08-31nixos/*: automatically convert option descriptionspennae28-36/+36
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-08-24nvidia: remove deleted useGlamor optionMax Schorradt1-2/+0
2022-08-24Merge pull request #187528 from rnhmjoj/pr-fix-dt-overlaysK9001-0/+10
nixos/hardware/device-tree: make overlays more reliable
2022-08-20Merge pull request #187252 from K900/kernel-sanityK9001-19/+4
linux: assorted build cleanups
2022-08-20nixos/hardware/device-tree: make overlays more reliablernhmjoj1-0/+10
This make the process of applying overlays more reliable by: 1. Ignoring dtb files that are not really device trees. [^1] 2. Adding a `filter` option (per-overlay, there already is a global one) to limit the files to which the overlay applies. This is useful in cases where the `compatible` string is ambiguous and multiple unrelated files match. Previously the script would fail in both cases. [^1]: For example, there is dtbs/overlays/overlay_map.dtb in the Raspberry Pi 1 kernel.
2022-08-19nixos/*: automatically convert option docspennae1-3/+3
2022-08-19nixos/*: mark pre-existing markdown descriptions as mdDocpennae1-1/+1
2022-08-19nixos/hardware/device-tree: use symbols from the exact kernel packageK9001-19/+4
2022-08-19Merge pull request #157997 from kirelagin/grayscale-antialiasingChristian Kögler1-0/+8
hidpi: Use gray-scale antialiasing for fonts
2022-08-10Merge pull request #181079 from profianinc/init/nixos/amd-sevSergei Trofimovich1-0/+51
nixos/amd.sev: init
2022-08-09Merge pull request #185068 from kira-bruneau/linuxPackages.xpadneoKira Bruneau1-1/+2
nixos/xpadneo: don't disable ertm on kernel 5.12 or later
2022-08-08nixos/usbStorage: add new optionbb20201-0/+20
2022-08-03nixos/xpadneo: don't disable ertm on kernel 5.12 or laterKira Bruneau1-1/+2
The [v0.9.2 changelog](https://github.com/atar-axis/xpadneo/releases/tag/v0.9.2) mentions that ERTM should no longer be unconditionally disabled on kernels later than 5.12.
2022-08-03nixos/*: automatically convert option docs to MDpennae2-7/+7
once again using nix-doc-munge (https://github.com/pennae/nix-doc-munge/commit/69d080323ae27c0d8da3967c62b925a9aedb2828)
2022-08-03nixos/*: normalize link formatpennae1-1/+1
make (almost) all links appear on only a single line, with no unnecessary whitespace, using double quotes for attributes. this lets us automatically convert them to markdown easily. the few remaining links are extremely long link in a gnome module, we'll come back to those at a later date.
2022-08-03nixos/*: replace <replaceable>s with «thing»pennae1-1/+1
we can't embed syntactic annotations of this kind in markdown code blocks without yet another extension. replaceable is rare enough to make this not much worth it, so we'll go with «thing» instead. the module system already uses this format for its placeholder names in attrsOf paths.
2022-08-03nixos/*: replace </para><para> with double linebreakspennae1-2/+1
our xslt already replaces double line breaks with a paragraph close and reopen. not using explicit para tags lets nix-doc-munge convert more descriptions losslessly. only whitespace changes to generated documents, except for two strongswan options gaining paragraph two breaks they arguably should've had anyway.
2022-08-02Merge pull request #183491 from pennae/automatic-md-conversionspennae37-117/+117
treewide: automatically md-convert option descriptions
2022-07-30treewide: use isAarch where appropriateAlyssa Ross1-1/+1
2022-07-30treewide: automatically md-convert option descriptionspennae37-117/+117
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-07-27Merge pull request #182685 from pennae/invariant-option-conversionspennae2-9/+9
treewide: invariant option conversions to MD
2022-07-25nixos/amd.sev: initRoman Volosatovs1-0/+51
Signed-off-by: Roman Volosatovs <roman@profian.com> Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
2022-07-24nixos/hardware: invariant option docs MD conversionspennae2-9/+9
2022-07-15nvidia: improve robustness of udev rulesTimothy DeHerrera1-4/+3
fixes #165719
2022-07-10hardware/nvidia: add @ to constraint on busIDTypeyuu1-1/+1
On some configurations, the only known syntax that works requires the `@` character, such as `intelBusId = "0@0:2:0";` and `nvidiaBusId = "1@1:0:0";` [1]. [1]. https://discourse.nixos.org/t/struggling-with-nvidia-prime/13794/4
2022-07-03ckb-next: remove myself from maintainers (#179573)Kier Davis1-1/+1
* ckb-next: remove kierdavis and add superherointj as maintainer Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
2022-06-29maintainers: remove volthajs1241-1/+1
github account deleted
2022-06-19Merge pull request #178200 from lopsided98/device-tree-preprocessorFlorian Klink1-10/+8
nixos/device-tree: preprocess overlays before compiling
2022-06-18nixos/device-tree: preprocess overlays before compilingBen Wolsieffer1-2/+3
Run the device tree overlays through the preprocessor before compiling it, as is done in the kernel. This helps make overlays easier to understand, and improves compatibility with those found in the wild. I found the correct command line by running the kernel build with V=1, and then removing all the arguments related to dependency tracking.
2022-06-18nixos/device-tree: use new overlay syntax in exampleBen Wolsieffer1-8/+5
Since dtc 1.4.7 (released in 2018), there has been a much nicer syntax for device tree overlays. This commit converts the dtsText example to use this syntax.
2022-06-17Merge pull request #172660 from NickCao/nvidia-openThiago Kenji Okada1-2/+17
nvidia-open: init at 515.43.04
2022-06-07treewide: remove usage of runCommandNoCC aliasesSandro Jäckel1-1/+1
2022-06-03nixos/nvidia: add option hardware.nvidia.open for selecting the opensource ↵Nick Cao1-2/+12
kernel driver
2022-06-03nvidia_x11: init opensource kernel driverNick Cao1-0/+5
2022-06-02Merge pull request #174058 from ↵Thiago Kenji Okada1-3/+4
jian-lin/fix-nvidia.powerManagement.finegrained-only-apply-workarounds-when-needed nixos/nvidia: only apply workarounds for finegrained when needed
2022-06-02Merge pull request #174259 from ↵Thiago Kenji Okada1-3/+20
schuelermine/add-nixos-option/hardware.nvidia.forceFullCompositionPipeline nixos/nvidia: add hardware.nvidia.forceFullCompositionPipeline