dotfiles/modules/programs/thunar.nix
2022-07-30 16:34:19 +02:00

32 lines
481 B
Nix

{ config
, lib
, pkgs
, ...
}:
with lib;
let
cfg = config.my.programs.thunar;
in
{
options.my.programs.thunar = {
enable = mkOption {
default = false;
type = types.bool;
example = true;
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
xfce.exo
xfce.thunar
xfce.tumbler
xfce.xfconf
];
services.gvfs = {
enable = true;
package = lib.mkForce pkgs.gnome3.gvfs;
};
};
}