add kak pager and use it for man pages
This commit is contained in:
parent
0cd3802686
commit
c19d02520c
5 changed files with 26 additions and 0 deletions
14
user/man.nix
Normal file
14
user/man.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
let inherit (import ./variables.nix) 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue