fix(apps): improve Thunar and Mako integration
Some checks failed
Check / eval-and-lint (push) Has been cancelled
Some checks failed
Check / eval-and-lint (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
29
core/system/file-manager.nix
Normal file
29
core/system/file-manager.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user