1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 16:59:43 +01:00
home-manager/modules/programs/lesspipe.nix

20 lines
355 B
Nix
Raw Normal View History

2017-01-07 19:16:26 +01:00
{ config, lib, pkgs, ... }:
with lib;
{
meta.maintainers = [ maintainers.rycee ];
2017-01-07 19:16:26 +01:00
options = {
programs.lesspipe = {
enable = mkEnableOption "lesspipe preprocessor for less";
};
};
config = mkIf config.programs.lesspipe.enable {
home.sessionVariables = {
LESSOPEN = "|${pkgs.lesspipe}/bin/lesspipe.sh %s";
};
};
}