fix(apps): improve Thunar and Mako integration
Some checks failed
Check / eval-and-lint (push) Has been cancelled

This commit is contained in:
Bernardo Magri
2026-05-31 20:58:10 +01:00
parent 878c11bd41
commit ea34a7ac1f
5 changed files with 52 additions and 6 deletions

View File

@@ -18,6 +18,7 @@
./network.nix
./impermanence.nix
./browser.nix
./file-manager.nix
# Tier 1 system features (all opt-in via nomarchy.system.*).
./snapper.nix
./laptop.nix

View File

@@ -0,0 +1,29 @@
{ 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;
# 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
];
}