1 { config, lib, pkgs, ... }:
3 let cfg = config.programs.thunar;
7 maintainers = lib.teams.xfce.members;
12 enable = lib.mkEnableOption "Thunar, the Xfce file manager";
14 plugins = lib.mkOption {
16 type = lib.types.listOf lib.types.package;
17 description = "List of thunar plugins to install.";
18 example = lib.literalExpression "with pkgs.xfce; [ thunar-archive-plugin thunar-volman ]";
24 config = lib.mkIf cfg.enable (
25 let package = pkgs.xfce.thunar.override { thunarPlugins = cfg.plugins; };
28 environment.systemPackages = [
32 services.dbus.packages = [
40 programs.xfconf.enable = true;