NixosConfig/modules/yazi.nix

31 lines
No EOL
480 B
Nix

{config, pkgs, lib, ...}:
let
cfg = config.modules.yazi;
in
{
options.modules.yazi = {
enable = lib.mkEnableOption "Enable Yazi file manager";
};
config = lib.mkIf cfg.enable {
programs = {
yazi.enable = true;
};
environment.systemPackages = with pkgs; [
nerd-fonts.ubuntu
nerd-fonts.ubuntu-mono
ffmpeg_7
p7zip
jq
poppler
fd
ripgrep
fzf
zoxide
resvg
imagemagick
];
};
}