mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 16:59:43 +01:00
829e89a16f
Less clutter in the $HOME.
26 lines
422 B
Nix
26 lines
422 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/.config/lesskey
|
|
assertFileContent home-files/.config/lesskey ${
|
|
builtins.toFile "less.expected" ''
|
|
s back-line
|
|
t forw-line
|
|
''
|
|
}
|
|
'';
|
|
}
|