nixpkgs/nixos/modules/misc
Klemens Nanni 03d6c406fc
nixos/documentation: nixos-help: use w3m(1) by default
It is referenced in various places, but does not work out of the box:

	$ nixos-help
	/run/current-system/sw/bin/nixos-help: unable to start a web browser; please set $BROWSER

In the user-hidden fallbacks to xdg-open(1) and w3m(1), `nixos-help`
expects tools to be deliberately installed by users.

For default installations and new users in general, this is unlikely to
be the case.  Conversely, chances to use `nixos-help` are even higher
in such cases.

Use w3m-nographics by default to ensure documentation is always
available.  The documentation browser on ttyS8 already does so, but is
not accessible in every installation, e.g. VMs with only ttyS0 and SSH
available.

This obsoletes including it in the base profile's systemPackages,
so remove the @TODO as done.
2019-06-09 17:11:20 +02:00
..
assertions.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
crashdump.nix nixos/crashdump: fix evaluation. (#30415) 2017-10-25 20:00:52 +00:00
documentation.nix nixos/documentation: nixos-help: use w3m(1) by default 2019-06-09 17:11:20 +02:00
extra-arguments.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
ids.nix nixos/btsync: remove 2019-06-03 09:16:13 +02:00
label.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
lib.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
locate.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
meta.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
nixpkgs.nix nixos/misc/nixpkgs: fixed syntax error in overlays example 2019-05-04 17:29:04 +02:00
passthru.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
version.nix nixos: version: cleanup a bit 2019-02-03 20:10:12 +00:00