nixpkgs/nixos/lib
Naïm Favier 6a117e2759 nixos/doc: render option values using lib.generators.toPretty
Render un`_type`d defaults and examples as `literalExpression`s using
`lib.generators.toPretty` so that consumers don't have to reinvent Nix
pretty-printing. `renderOptionValue` is kept internal for now intentionally.

Make `toPretty` print floats as valid Nix values (without a tilde).

Get rid of the now-obsolete `substSpecial` function.

Move towards disallowing evaluation of packages in the manual by
raising a warning on `pkgs.foo.{outPath,drvPath}`; later, this should
throw an error. Instead, module authors should use `literalExpression`
and `mkPackageOption`.
2022-12-08 17:52:52 +01:00
..
make-options-doc nixos/doc: render option values using lib.generators.toPretty 2022-12-08 17:52:52 +01:00
test-driver test-driver: Allow configuring delay for send_{key,chars} 2022-11-19 06:55:25 +01:00
testing nixos/lib/testing: Delay nodes.machine.~config~ migration 2022-10-16 16:30:21 +02:00
default.nix nixos/testing: Move entrypoint to nixos/lib + doc 2022-09-24 17:38:08 +01:00
eval-cacheable-options.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
eval-config-minimal.nix nixos/lib: Clarify that nixos.evalModules impl is NOT experimental 2022-01-10 12:36:57 +01:00
eval-config.nix nixos/lib/eval-config: Document the use of baseModules 2022-09-24 17:38:09 +01:00
from-env.nix
make-channel.nix
make-disk-image.nix make-disk-image: add systemdMinimal to PATH 2022-04-05 11:57:53 +02:00
make-ext4-fs.nix honor sdImage.compressImage in intermediate build steps 2021-12-21 21:31:44 +01:00
make-iso9660-image.nix nixos: use nativeBuildInputs in make- iso9660-image and system-tarball 2020-11-18 14:05:30 +01:00
make-iso9660-image.sh installer/cd-dvd/iso-image: avoid leaking build timestamps on non-x86 2022-01-05 12:05:15 -06:00
make-multi-disk-zfs-image.nix nixos/lib/make-multi-disk-zfs-image.nix: remove unused binding 2022-09-26 22:18:55 -04:00
make-single-disk-zfs-image.nix nixos/lib/make-single-disk-zfs-image.nix: remove unused binding 2022-09-26 22:19:06 -04:00
make-squashfs.nix make-squashfs: use $NIX_BUILD_CORES or 48 cores if above 48 2021-12-08 19:23:31 +02:00
make-system-tarball.nix make-system-tarball: use pixz -t 2022-08-22 05:28:36 +03:00
make-system-tarball.sh
qemu-common.nix nixos/lib/qemu-common.nix: set qemuSerialDevice for isMips64 2022-10-04 07:48:12 +00:00
systemd-lib.nix nixos: Add unit option overrideStrategy 2022-10-27 20:19:18 +02:00
systemd-types.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
systemd-unit-options.nix nixos/systemd-unit-options: document correct wantedBy default for user units (#199007) 2022-11-02 07:03:22 +00:00
test-script-prepend.py nixos/test-driver: Typecheck TestScript 2022-06-02 10:05:45 +02:00
testing-python.nix nixos/lib/testing-python: remove unused with pkgs; 2022-11-11 16:05:00 +01:00
utils.nix Revert "nixos/lib: add /home to pathsNeededForBoot" 2022-12-03 15:16:42 +02:00