3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
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
..
config Merge pull request #204573 from SuperSandro2000/pinentry-nox 2022-12-07 23:00:26 +01:00
hardware treewide: use mkEnableOption in nixos modules 2022-11-10 09:30:00 +01:00
i18n/input-method
installer nixos/nix-fallback-paths: 2.11.1 -> 2.12.0 2022-12-07 04:42:28 +10:00
misc nixos/doc: render option values using lib.generators.toPretty 2022-12-08 17:52:52 +01:00
profiles Merge pull request #201380 from Ma27/installer/vim-with-nix-support 2022-12-03 16:20:08 +01:00
programs nixos/doc: fix some options 2022-12-08 17:52:52 +01:00
security Merge pull request #199587 from lorenz/fscrypt 2022-11-14 09:42:35 +01:00
services nixos/doc: fix some options 2022-12-08 17:52:52 +01:00
system Merge pull request #202956 from arcnmx/systemd-networkd-wait-online 2022-12-05 17:53:26 +01:00
tasks Merge pull request #117371 from grahamc/sysctl-hostname 2022-12-01 16:03:04 +01:00
testing
virtualisation nixos/doc: fix some options 2022-12-08 17:52:52 +01:00
module-list.nix Merge pull request #202369 from laalsaas/blesh 2022-12-07 18:47:36 +01:00
rename.nix