25 lines
496 B
Nix
25 lines
496 B
Nix
{
|
|
flake.modules.homeManager.files = { pkgs, lib, ... }:
|
|
{
|
|
programs.lf = {
|
|
enable = true;
|
|
cmdKeybindings = {
|
|
"D" = "delete";
|
|
};
|
|
settings = {
|
|
preview = true;
|
|
hidden = true;
|
|
drawbox = true;
|
|
icons = true;
|
|
ignorecase = true;
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
# gdu
|
|
# (writeShellScriptBin "lfcd" ''
|
|
# . <(${lib.getExe pkgs.lf} -print-last-dir | sed 's/^/cd /')
|
|
# '')
|
|
];
|
|
};
|
|
} |