mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 09:49:47 +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
|
|
''
|
|
}
|
|
'';
|
|
}
|