less
This commit is contained in:
parent
194cefe340
commit
ac7e310e00
9 changed files with 181 additions and 111 deletions
22
programs/less.nix
Normal file
22
programs/less.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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 +F
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue