From 2048bc62f812abecee5d58873a4a799a3ae02cf9 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 3 Apr 2024 09:59:32 -0400 Subject: [PATCH] chore: Simplify thunar module --- modules/thunar.nix | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/modules/thunar.nix b/modules/thunar.nix index 873e96a7..a40151c3 100644 --- a/modules/thunar.nix +++ b/modules/thunar.nix @@ -1,15 +1,23 @@ { pkgs, ... }: +let + inherit (pkgs.xfce) thunar-volman exo; + inherit (pkgs) glib; +in { - programs.thunar.enable = true; - services.tumbler.enable = true; # Thumbnail support - programs.thunar.plugins = with pkgs.xfce; [ thunar-volman ]; + programs.thunar = { + enable = true; + plugins = [ thunar-volman ]; + }; - environment.systemPackages = with pkgs; [ - xfce.exo # Open with kitty support + services = { + tumbler.enable = true; + gvfs.enable = true; + gnome.gnome-keyring.enable = true; + }; + + environment.systemPackages = [ + exo glib ]; - - services.gvfs.enable = true; # Trash support - services.gnome.gnome-keyring.enable = true; # Mount support }