Age | Commit message (Collapse) | Author |
|
|
|
|
|
Conflicts:
pkgs/development/tools/language-servers/ansible-language-server/default.nix
|
|
|
|
nixos/hardware/printers: stop cupsd when unneeded
|
|
|
|
- libvdpau-va-gl supports only H.264
- vaapiVdpau is unmaintained for 10 years
|
|
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.
|
|
|
|
nixos/usbStorage: add new option
|
|
the argument to optional should not be list
|
|
|
|
|
|
|
|
this should be all of them other than the failed splices
found with nixpkgs-lint
|
|
|
|
version constraint
|
|
minor rendering changes.
|
|
we'll have to do it eventually, may as well be now.
|
|
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.
|
|
|
|
nixos/hardware/device-tree: make overlays more reliable
|
|
linux: assorted build cleanups
|
|
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.
|
|
|
|
|
|
|
|
hidpi: Use gray-scale antialiasing for fonts
|
|
nixos/amd.sev: init
|
|
nixos/xpadneo: don't disable ertm on kernel 5.12 or later
|
|
|
|
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.
|
|
once again using nix-doc-munge (https://github.com/pennae/nix-doc-munge/commit/69d080323ae27c0d8da3967c62b925a9aedb2828)
|
|
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.
|
|
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.
|
|
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.
|
|
treewide: automatically md-convert option descriptions
|
|
|
|
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.
|
|
treewide: invariant option conversions to MD
|
|
Signed-off-by: Roman Volosatovs <roman@profian.com>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
|
|
|
|
fixes #165719
|
|
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
|
|
* ckb-next: remove kierdavis and add superherointj as maintainer
Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
|
|
github account deleted
|
|
nixos/device-tree: preprocess overlays before compiling
|
|
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.
|
|
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.
|
|
nvidia-open: init at 515.43.04
|