nix-config/home/lf/default.nix

19 lines
427 B
Nix
Raw Normal View History

2022-03-14 15:20:17 +01:00
{ 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}
'';
};
}