22 lines
536 B
Nix
22 lines
536 B
Nix
inputs@{ machine, ... }:
|
|
{
|
|
imports = machine.program {
|
|
name = "less";
|
|
inherit inputs;
|
|
requirements = [ "cli" ];
|
|
home-config =
|
|
{ pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [ less ];
|
|
|
|
programs.less = {
|
|
enable = true;
|
|
config = ''
|
|
#command
|
|
#env
|
|
LESS=--quit-if-one-screen --ignore-case --long-prompt --tabs=4 --redraw-on-quit --use-color --RAW-CONTROL-CHARS --chop-long-lines --exit-follow-on-close
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|