w3m: Add a variant without graphics support and use for NixOS manual

This gets rid of various graphics libraries from the minimal installer.

+7 -1
+1 -1
nixos/modules/services/misc/nixos-manual.nix
··· 99 99 100 100 services.nixosManual.browser = mkOption { 101 101 type = types.path; 102 - default = "${pkgs.w3m-nox}/bin/w3m"; 102 + default = "${pkgs.w3m-nographics}/bin/w3m"; 103 103 description = '' 104 104 Browser used to show the manual. 105 105 '';
+6
pkgs/top-level/all-packages.nix
··· 18552 18552 imlib2 = imlib2-nox; 18553 18553 }; 18554 18554 18555 + # Version without X11 or graphics 18556 + w3m-nographics = w3m.override { 18557 + x11Support = false; 18558 + graphicsSupport = false; 18559 + }; 18560 + 18555 18561 # Version for batch text processing, not a good browser 18556 18562 w3m-batch = w3m.override { 18557 18563 graphicsSupport = false;