2024-05-30 16:54:58 -03:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
2024-06-05 01:18:48 -03:00
|
|
|
inherit (config.my)
|
2024-05-30 16:54:58 -03:00
|
|
|
key
|
|
|
|
theme
|
|
|
|
color
|
|
|
|
accent
|
|
|
|
font
|
|
|
|
desktop
|
|
|
|
editor
|
|
|
|
;
|
2023-05-11 11:20:47 -03:00
|
|
|
pagers = rec {
|
|
|
|
kak = kakoune;
|
|
|
|
kakoune = {
|
|
|
|
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";
|
2022-11-07 23:57:34 -03:00
|
|
|
};
|
2023-05-11 11:20:47 -03:00
|
|
|
hx = helix;
|
|
|
|
helix = {
|
2022-11-07 23:57:34 -03:00
|
|
|
PAGER = "${pkgs.kak-pager}/bin/kak-pager";
|
|
|
|
MANPAGER = "${pkgs.kak-man-pager}/bin/kak-man-pager";
|
2023-03-02 14:23:38 -03:00
|
|
|
SYSTEMD_PAGER = "${pkgs.kak-pager}/bin/kak-pager";
|
|
|
|
SYSTEMD_PAGERSECURE = "1";
|
2022-11-07 23:57:34 -03:00
|
|
|
};
|
|
|
|
};
|
2023-05-11 11:20:47 -03:00
|
|
|
in
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.man = {
|
|
|
|
enable = true;
|
|
|
|
generateCaches = true;
|
|
|
|
};
|
|
|
|
home.sessionVariables = pagers.${editor};
|
|
|
|
};
|
2022-11-07 23:57:34 -03:00
|
|
|
}
|