summaryrefslogtreecommitdiffstats
path: root/tv/2configs/man.nix
blob: a84e60b736e32bc7d6653e8b860392275a9cb06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, lib, pkgs, ... }:
{
  environment.etc."man.conf".source = pkgs.runCommand "man.conf" {} ''
    ${pkgs.gnused}/bin/sed <${pkgs.man}/lib/man.conf >$out '
      s:^NROFF\t.*:& -Wbreak:
    '
  '';
  environment.systemPackages = with pkgs; [
    manpages
    posix_man_pages
  ];
}