marleyos/modules/home/programs/less/default.nix

20 lines
314 B
Nix
Raw Normal View History

2024-11-16 17:37:09 -08:00
{
lib,
config,
...
}: let
cfg = config.marleyos.programs.less;
in {
options.marleyos.programs.less.enable = lib.mkEnableOption "less";
2024-11-16 17:37:09 -08:00
config = lib.mkIf cfg.enable {
2024-11-16 17:37:09 -08:00
programs.less.enable = true;
home.sessionVariables = {
LESS = "-R";
};
programs.lesspipe.enable = true;
};
}