summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware
AgeCommit message (Collapse)Author
2023-01-06Merge master into staging-nextgithub-actions[bot]
2023-01-05opentabletdriver: remove hardcoded config pathjamesbt365
2022-12-28Merge remote-tracking branch 'origin/staging-next' into stagingSergei Trofimovich
Conflicts: pkgs/development/tools/language-servers/ansible-language-server/default.nix
2022-12-25Merge pull request #205648 from SuperSandro2000/hardware-openglSandro
2022-12-21Merge pull request #203454 from rnhmjoj/pr-cups-socketMichele Guerini Rocco
nixos/hardware/printers: stop cupsd when unneeded
2022-12-17nixos: fix typosfigsoda
2022-12-11nixos/opengl: cleanup suggestions for extraPackagesSandro Jäckel
- libvdpau-va-gl supports only H.264 - vaapiVdpau is unmaintained for 10 years
2022-12-07nixos/hardware/printers: stop cupsd when unneededrnhmjoj
If socket activation is enable (the default) and printers are configured declaratively, the ensure-printers service will always start cupsd and leave it running, thus defeating the point of socket activation. With this change ensure-printers continues to start the cups.service at boot, but automatically stops it afterwards if socket activation is enabled. Note: Later restarts of ensure-printers will also restart cupsd, but it's not an issue since it will be reactivate, if necessary.
2022-11-10treewide: use `mkEnableOption` in nixos modulesDaniel Nagy
2022-11-03Merge pull request #185688 from bb2020/usbstorAnderson Torres
nixos/usbStorage: add new option
2022-10-10treewide: optional -> optionals where the argument is a listArtturin
the argument to optional should not be list
2022-10-05Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt
2022-10-04maintainers: remove superherointjsuperherointj
2022-10-01Merge master into staging-nextgithub-actions[bot]
2022-09-26treewide: makeWrapper to nativeBuildInputsArtturin
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 Bruneau
2022-09-03nixos/nvidia: replace IFD based assertion on power management support with ↵Nick Cao
version constraint
2022-08-31nixos/*: convert options with listingspennae
minor rendering changes.
2022-08-31nixos/*: convert internal option descriptions to MDpennae
we'll have to do it eventually, may as well be now.
2022-08-31nixos/*: automatically convert option descriptionspennae
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 Schorradt
2022-08-24Merge pull request #187528 from rnhmjoj/pr-fix-dt-overlaysK900
nixos/hardware/device-tree: make overlays more reliable
2022-08-20Merge pull request #187252 from K900/kernel-sanityK900
linux: assorted build cleanups
2022-08-20nixos/hardware/device-tree: make overlays more reliablernhmjoj
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 docspennae
2022-08-19nixos/*: mark pre-existing markdown descriptions as mdDocpennae
2022-08-19nixos/hardware/device-tree: use symbols from the exact kernel packageK900
2022-08-19Merge pull request #157997 from kirelagin/grayscale-antialiasingChristian Kögler
hidpi: Use gray-scale antialiasing for fonts
2022-08-10Merge pull request #181079 from profianinc/init/nixos/amd-sevSergei Trofimovich
nixos/amd.sev: init
2022-08-09Merge pull request #185068 from kira-bruneau/linuxPackages.xpadneoKira Bruneau
nixos/xpadneo: don't disable ertm on kernel 5.12 or later
2022-08-08nixos/usbStorage: add new optionbb2020
2022-08-03nixos/xpadneo: don't disable ertm on kernel 5.12 or laterKira Bruneau
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 MDpennae
once again using nix-doc-munge (https://github.com/pennae/nix-doc-munge/commit/69d080323ae27c0d8da3967c62b925a9aedb2828)
2022-08-03nixos/*: normalize link formatpennae
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»pennae
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 linebreakspennae
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-conversionspennae
treewide: automatically md-convert option descriptions
2022-07-30treewide: use isAarch where appropriateAlyssa Ross
2022-07-30treewide: automatically md-convert option descriptionspennae
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-conversionspennae
treewide: invariant option conversions to MD
2022-07-25nixos/amd.sev: initRoman Volosatovs
Signed-off-by: Roman Volosatovs <roman@profian.com> Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
2022-07-24nixos/hardware: invariant option docs MD conversionspennae
2022-07-15nvidia: improve robustness of udev rulesTimothy DeHerrera
fixes #165719
2022-07-10hardware/nvidia: add @ to constraint on busIDTypeyuu
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 Davis
* ckb-next: remove kierdavis and add superherointj as maintainer Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
2022-06-29maintainers: remove volthajs124
github account deleted
2022-06-19Merge pull request #178200 from lopsided98/device-tree-preprocessorFlorian Klink
nixos/device-tree: preprocess overlays before compiling
2022-06-18nixos/device-tree: preprocess overlays before compilingBen Wolsieffer
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 Wolsieffer
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 Okada
nvidia-open: init at 515.43.04