nixos-config/common/gui/thunar.nix
2025-03-20 13:34:03 -04:00

24 lines
500 B
Nix

{
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
};
}