Commit 50fbcb0

HPCesia <me@hpcesia.com>
2025-12-04 10:01:50
feat: thumbnail
1 parent 76ff8fe
Changed files (2)
modules/desktop/thumbnail.nix
@@ -0,0 +1,15 @@
+{
+  flake.modules.nixos.desktop = {pkgs, ...}: {
+    services.tumbler.enable = true; # Thumbnail support
+    environment.systemPackages = with pkgs; [
+      # Image
+      gdk-pixbuf
+      libheif
+      libheif.out
+      webp-pixbuf-loader
+      # Video
+      ffmpeg-headless
+      ffmpegthumbnailer
+    ];
+  };
+}
modules/desktop/utils.nix
@@ -1,7 +1,6 @@
 {
   flake.modules.nixos.desktop = {config, ...}: {
     services.gvfs.enable = true; # Mount, trash, and other functionalities
-    services.tumbler.enable = true; # Thumbnail support for images
     services.xserver.xkb.layout = "us";
     services.blueman.enable = config.hardware.bluetooth.enable;
   };