some plays, some updates
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{ config, pkgs, ... }: {
|
||||
# Thunar (use the module)
|
||||
programs.thunar.enable = true; # :contentReference[oaicite:1]{index=1}
|
||||
|
||||
# If you are NOT running full XFCE, you need xfconf or Thunar settings won’t persist
|
||||
programs.xfconf.enable = true; # :contentReference[oaicite:2]{index=2}
|
||||
|
||||
# Plugins (add them here, not in systemPackages)
|
||||
programs.thunar.plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin # right-click extract/compress
|
||||
thunar-volman # removable media handling
|
||||
]; # :contentReference[oaicite:3]{index=3}
|
||||
|
||||
# Mount/trash and thumbnails
|
||||
services.gvfs.enable = true; # :contentReference[oaicite:4]{index=4}
|
||||
services.tumbler.enable = true; # :contentReference[oaicite:5]{index=5}
|
||||
|
||||
# Removable drives typically rely on udisks2 + polkit
|
||||
services.udisks2.enable = true; # :contentReference[oaicite:6]{index=6}
|
||||
security.polkit.enable = true; # :contentReference[oaicite:7]{index=7}
|
||||
|
||||
# Usually already enabled, but harmless to be explicit on minimal installs
|
||||
services.dbus.enable = true;
|
||||
|
||||
# Set default applications for Thunar (and others) via xdg-mime
|
||||
environment.systemPackages = with pkgs; [
|
||||
gdk-pixbuf # image thumbnailer :contentReference[oaicite:5]{index=5}
|
||||
ffmpegthumbnailer # video thumbnails :contentReference[oaicite:6]{index=6}
|
||||
ffmpeg-headless # decoding support often used alongside ffmpegthumbnailer :contentReference[oaicite:7]{index=7}
|
||||
];
|
||||
|
||||
# Make .thumbnailer definitions visible under the system profile
|
||||
environment.pathsToLink =
|
||||
[ "share/thumbnailers" ]; # :contentReference[oaicite:8]{index=8}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user