From 9c9ebff974237d670706ca9d1e7dea1db058abc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Thu, 18 May 2023 12:36:29 -0300 Subject: [PATCH] thunar: enable plugins --- system/configuration.nix | 14 ++++++++------ system/thunar.nix | 13 +++++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 system/thunar.nix diff --git a/system/configuration.nix b/system/configuration.nix index 5d17c59..adb09d9 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -2,7 +2,14 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { config, pkgs, inputs, ... }: { - imports = [ ./gamemode.nix ./cachix.nix ./media-packages.nix ./boot.nix ./vpn.nix ]; + imports = [ + ./gamemode.nix + ./cachix.nix + ./media-packages.nix + ./boot.nix + ./vpn.nix + ./thunar.nix + ]; packages.media-packages.enable = true; boot.kernelPackages = pkgs.linuxPackages_latest; @@ -103,11 +110,6 @@ programs.dzgui.enable = true; - # TODO: enable thunar plugins - # programs.thunar.enable = true; - # programs.thunar.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 # Allow unfree packages nixpkgs.config.allowUnfree = true; diff --git a/system/thunar.nix b/system/thunar.nix new file mode 100644 index 0000000..e3af8e7 --- /dev/null +++ b/system/thunar.nix @@ -0,0 +1,13 @@ +{ config, pkgs, inputs, ... }: { + programs.thunar = { + enable = true; + plugins = with pkgs.xfce; [ + thunar-archive-plugin + thunar-volman + ]; + }; + # Mount, trash, and other functionalities + services.gvfs.enable = true; + # Thumbnail support for images + services.tumbler.enable = true; +}