{ lib, config, ... }: lib.mkIf (lib.elem "nvim::oil-nvim" config.machine.pkgs) { programs.nvim-lazy.lazyPlugins = [ { lazy = false; dir = vPlug: vPlug.oil-nvim; opts = { default_file_explorer = true; delete_to_trash = true; }; } ]; }