nixos-config/user/ranger/default.nix
Leonardo Eugênio 2d2138123a add ranger
2022-10-24 23:41:40 -03:00

22 lines
588 B
Nix

{ config, pkgs, lib, inputs, ... }: {
xdg.configFile = {
"ranger/rc.conf".source = ./rc.conf;
"ranger/rifle.conf".source = ./rifle.conf;
"ranger/scope.sh".source = ./scope.sh;
"ranger/colorschemes/mycolorscheme.py".source = ./colorscheme.py;
"ranger/plugins/ranger_devicons".source = inputs.ranger-icons;
};
home.packages = with pkgs; [
ranger
xdg-utils
wl-clipboard
highlight # syntax highlight
poppler_utils # pdf preview
ffmpeg # audio preview
ffmpegthumbnailer # video preview
fontforge # font preview
imagemagick
];
}