19 lines
427 B
Nix
19 lines
427 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
let
|
||
|
pv = pkgs.callPackage ./pv.nix { inherit config pkgs; };
|
||
|
lf-wrapper = pkgs.callPackage ./lf-wrapper.nix { inherit config pkgs; };
|
||
|
cleaner = pkgs.callPackage ./cleaner.nix { inherit config pkgs; };
|
||
|
|
||
|
in {
|
||
|
home.packages = [ lf-wrapper ];
|
||
|
programs.lf = {
|
||
|
enable = true;
|
||
|
previewer.source = pv;
|
||
|
settings.icons = true;
|
||
|
extraConfig = ''
|
||
|
set cleaner ${cleaner}
|
||
|
'';
|
||
|
};
|
||
|
}
|