{pkgs, ...}: {
  home.packages = with pkgs; [
    xdg-utils
    # preview tools
    bat
    chafa
    glow
    catdoc
    catdocx
    # FIXME broken package
    # haskellPackages.pdftotext

    # archive tools
    # zip
    # p7zip
    # unzip
    # gnutar
    # gzip
    # xz
    (unp.override {
      extraBackends = [
        # file, unzip & gzip already included
        binutils
        bzip2
        unrar-wrapper
        gnutar
        xz
      ];
    })

    # others
    #pdfgrep
  ];
  programs.lf = {
    enable = true;
    extraConfig = builtins.readFile ./lfrc;
    previewer.source = ./preview;
  };

  xdg.configFile."lf/icons".text = builtins.readFile ./icons;
}
