From cb0645dd81537aaaeb3bffb47d51ce7c95dfe399 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 29 May 2026 19:06:02 +0200 Subject: [PATCH 1/3] feature(thunar): add thunar and thumbler thumbnailer service --- hosts/argon/configuration.nix | 1 + modules/nixos/thunar.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 modules/nixos/thunar.nix diff --git a/hosts/argon/configuration.nix b/hosts/argon/configuration.nix index 4a7e4bf..b748f20 100644 --- a/hosts/argon/configuration.nix +++ b/hosts/argon/configuration.nix @@ -21,6 +21,7 @@ ../../modules/nixos/protonvpn.nix ../../modules/nixos/services.nix ../../modules/nixos/settings.nix + ../../modules/nixos/thunar.nix ../../modules/nixos/steam.nix ../../modules/nixos/users.nix ]; diff --git a/modules/nixos/thunar.nix b/modules/nixos/thunar.nix new file mode 100644 index 0000000..0257888 --- /dev/null +++ b/modules/nixos/thunar.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +{ + # Enable Thunar and Tumbler thumbnailer service + programs.thunar.enable = true; + programs.tumbler.enable = true; + + # Ensure Thunar can locate the thumbnailer extensions + environment.pathsToLink = [ "share/thumbnailers" ]; +} From ae895dc55f8011cbd69ad08c1db627eb15c1c4e4 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 29 May 2026 19:15:40 +0200 Subject: [PATCH 2/3] fix: tumbler is a package rather than a programm and thus must be installed with packages --- modules/nixos/thunar.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/nixos/thunar.nix b/modules/nixos/thunar.nix index 0257888..75d26b3 100644 --- a/modules/nixos/thunar.nix +++ b/modules/nixos/thunar.nix @@ -1,9 +1,13 @@ { config, lib, pkgs, ... }: { - # Enable Thunar and Tumbler thumbnailer service + # Enable Thunar programs.thunar.enable = true; - programs.tumbler.enable = true; + + # Install Tumbler thumbnailer service + environment.systemPackages = with pkgs; [ + tumbler; + ]; # Ensure Thunar can locate the thumbnailer extensions environment.pathsToLink = [ "share/thumbnailers" ]; From a3e09d0019e2d9074a743f63c735c9170c3a20f0 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 29 May 2026 19:19:10 +0200 Subject: [PATCH 3/3] fix: remove typo --- modules/nixos/thunar.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/thunar.nix b/modules/nixos/thunar.nix index 75d26b3..d020ac3 100644 --- a/modules/nixos/thunar.nix +++ b/modules/nixos/thunar.nix @@ -6,7 +6,7 @@ # Install Tumbler thumbnailer service environment.systemPackages = with pkgs; [ - tumbler; + tumbler ]; # Ensure Thunar can locate the thumbnailer extensions