21 lines
469 B
Nix
21 lines
469 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options = {
|
|
thunar.enable = lib.mkEnableOption "Enables thunar and its plugins";
|
|
};
|
|
config = lib.mkIf config.thunar.enable {
|
|
programs.thunar = {
|
|
enable = true;
|
|
plugins = with pkgs.xfce; [
|
|
thunar-archive-plugin
|
|
thunar-volman
|
|
];
|
|
};
|
|
services.gvfs.enable = true; # Mount, trash, and other functionalities
|
|
services.tumbler.enable = true; # Thumbnail support for images
|
|
};
|
|
}
|