nix-config/modules/nixos/desktop/thunar.nix

27 lines
398 B
Nix

{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.features.desktop.thunar;
in
{
options.features.desktop.thunar.enable = mkEnableOption "Enable thunar";
config = mkIf cfg.enable {
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
];
};
environment.systemPackages = with pkgs; [ xfce.tumbler ];
};
}