mirror of
https://github.com/nix-community/home-manager
synced 2024-12-19 16:29:47 +01:00
27 lines
408 B
Nix
27 lines
408 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
programs.less = {
|
||
|
enable = true;
|
||
|
|
||
|
keys = ''
|
||
|
s back-line
|
||
|
t forw-line
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
test.stubs.less = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.lesskey
|
||
|
assertFileContent home-files/.lesskey ${
|
||
|
builtins.toFile "less.expected" ''
|
||
|
s back-line
|
||
|
t forw-line
|
||
|
''
|
||
|
}
|
||
|
'';
|
||
|
}
|