{ pkgs, config, lib, ... }: { options = { thunar.enable = lib.mkEnableOption "Enables thunar and its plugins"; }; config = lib.mkIf config.thunar.enable { programs.thunar = { enable = true; plugins = with pkgs.xfce; [ xfconf tumbler thunar-archive-plugin thunar-volman ]; }; services.gvfs.enable = true; # Mount, trash, and other functionalities services.tumbler.enable = true; # Thumbnail support for images }; }