33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
# Core system-side support for file management.
|
|
# This provides the backend services required by Thunar (and other file
|
|
# managers) to function correctly on a standalone compositor.
|
|
|
|
services.gvfs.enable = lib.mkDefault true; # Mount, trash, and other file system operations
|
|
services.tumbler.enable = lib.mkDefault true; # Thumbnail support for images/videos/etc.
|
|
|
|
# Explicitly enable Thunar for D-Bus integration
|
|
programs.thunar.enable = lib.mkDefault true;
|
|
|
|
# Required for drive management (mount/unmount) and other privileged actions
|
|
security.polkit.enable = true;
|
|
|
|
# Allow Thunar to use gvfs (trash, network mounts, etc.)
|
|
programs.thunar.plugins = with pkgs.xfce; [
|
|
thunar-archive-plugin
|
|
thunar-volman
|
|
thunar-media-tags-plugin
|
|
];
|
|
|
|
# Supporting utilities for Thunar and general file management
|
|
environment.systemPackages = with pkgs; [
|
|
ffmpegthumbnailer # Video thumbnails
|
|
libgsf # ODF thumbnails
|
|
poppler-utils # PDF thumbnails
|
|
xfce.exo # Required for "Open Terminal Here" and other associations
|
|
shared-mime-info # Standard MIME database
|
|
];
|
|
}
|