Thumbnails: Difference between revisions
Update to live url |
thumbnailer is already included in package |
||
Line 51: | Line 51: | ||
=== FFmpeg thumbnailer === | === FFmpeg thumbnailer === | ||
On minimal GNOME environments (for example ones with the option <code>services.gnome.core-utilities.enable</code> set to <code>false</code>, or ones without <code>pkgs.gnome.totem</code>), video thumbnails do not work by default. To fix this, you can use <code>ffmpegthumbnailer</code> | On minimal GNOME environments (for example ones with the option <code>services.gnome.core-utilities.enable</code> set to <code>false</code>, or ones without <code>pkgs.gnome.totem</code>), video thumbnails do not work by default. To fix this, you can use <code>ffmpegthumbnailer</code>: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
# configuration.nix | # configuration.nix | ||
{ pkgs, ... }: { | { pkgs, ... }: { | ||
environment.systemPackages = [ | environment.systemPackages = [ | ||
pkgs.ffmpegthumbnailer | |||
]; | ]; | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |