Three quick known-issue fixes:
- yazi: 26.x made the fetcher `group` field required, so the git
prepend_fetchers failed to parse and yazi fell back to presets. Add
`group = "git"` to both entries (the git plugin's setup() only renders
the linemode — the fetcher still needs registering here).
- file-manager: xfce.exo and the three Thunar plugins moved to top-level;
use pkgs.xfce4-exo / pkgs.thunar-{archive-plugin,volman,media-tags-plugin}.
Clears the eval-time deprecation warnings.
- nix-ld: enable programs.nix-ld distro-wide so foreign dynamically-linked
binaries (downloaded tools, npx-fetched claude-code, language servers)
run without patchelf.
Also drops the now-stale claude-code mention from the allowUnfree comment
(the ask module uses npx). nix flake check passes; xfce warnings gone.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
36 lines
1.4 KiB
Nix
36 lines
1.4 KiB
Nix
# GUI file manager — Thunar (lightweight GTK, Stylix-themed) plus the
|
|
# backend services a standalone compositor needs for it to work fully:
|
|
# gvfs (trash/mount/network), tumbler (thumbnails), udisks2 (removable
|
|
# media — also what yazi's mount plugin drives). The keyboard-driven TUI
|
|
# flagship is yazi (modules/home/yazi.nix); this is the point-and-click
|
|
# half and the XDG handler for "open folder" / "show in files".
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.nomarchy.system;
|
|
in
|
|
{
|
|
config = lib.mkIf cfg.fileManager.enable {
|
|
programs.thunar = {
|
|
enable = lib.mkDefault true;
|
|
plugins = with pkgs; [
|
|
thunar-archive-plugin # create/extract archives from the context menu
|
|
thunar-volman # auto-manage removable drives/media
|
|
thunar-media-tags-plugin # rename/inspect audio by tags
|
|
];
|
|
};
|
|
|
|
services.gvfs.enable = lib.mkDefault true; # trash, mounts, network shares
|
|
services.tumbler.enable = lib.mkDefault true; # thumbnail generation
|
|
services.udisks2.enable = lib.mkDefault true; # mount/unmount removable media
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
ffmpegthumbnailer # video thumbnails (Thunar + yazi)
|
|
libgsf # ODF thumbnails
|
|
poppler-utils # PDF thumbnails / pdftoppm (yazi PDF preview too)
|
|
xfce4-exo # "Open Terminal Here" and default-app associations
|
|
shared-mime-info # MIME database
|
|
];
|
|
};
|
|
}
|