19 lines
314 B
Nix
19 lines
314 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.marleyos.programs.less;
|
|
in {
|
|
options.marleyos.programs.less.enable = lib.mkEnableOption "less";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.less.enable = true;
|
|
|
|
home.sessionVariables = {
|
|
LESS = "-R";
|
|
};
|
|
|
|
programs.lesspipe.enable = true;
|
|
};
|
|
}
|