Bruno BELANYI
2ec9aae6b7
All checks were successful
continuous-integration/drone/push Build is passing
It seems to have broken at some point, and I didn't notice. Might as well remove it since I do not care for it.
20 lines
354 B
Nix
20 lines
354 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.my.home.pager;
|
|
in
|
|
{
|
|
options.my.home.pager = with lib.my; {
|
|
enable = mkDisableOption "pager configuration";
|
|
};
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.sessionVariables = {
|
|
# My default pager
|
|
PAGER = "less";
|
|
# Clear the screen on start and exit
|
|
LESS = "-R -+X -c";
|
|
};
|
|
};
|
|
}
|