nixos-config/user/man.nix
2023-03-02 14:23:38 -03:00

17 lines
440 B
Nix

{ config, pkgs, lib, inputs, ... }:
let inherit (pkgs.uservars) key theme color accent font desktop;
in {
config = {
programs.man = {
enable = true;
generateCaches = true;
};
home.sessionVariables = {
PAGER = "${pkgs.kak-pager}/bin/kak-pager";
MANPAGER = "${pkgs.kak-man-pager}/bin/kak-man-pager";
SYSTEMD_PAGER = "${pkgs.kak-pager}/bin/kak-pager";
SYSTEMD_PAGERSECURE = "1";
};
};
}