diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2025-10-19 17:54:40 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2025-10-19 17:54:40 -0500 |
commit | 542fdccb0500f3e4a38a8a82c209ae2e3a514d1a (patch) | |
tree | f2496b99e8b66ffc51fc3a67ff1de1772d451c30 /archetypes/collections/desktop/thumbnailers.nix | |
parent | c5999637e1d2f5463184b323d0687e84d8981d39 (diff) | |
download | nixos-542fdccb0500f3e4a38a8a82c209ae2e3a514d1a.tar.xz nixos-542fdccb0500f3e4a38a8a82c209ae2e3a514d1a.zip |
thumbnailers and video programs. sxiv replaced with nsxiv. more image mimetypes added. sent added. get rid of old hostnames for tjkeller.xyzHEADmaster
Diffstat (limited to 'archetypes/collections/desktop/thumbnailers.nix')
-rw-r--r-- | archetypes/collections/desktop/thumbnailers.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/archetypes/collections/desktop/thumbnailers.nix b/archetypes/collections/desktop/thumbnailers.nix new file mode 100644 index 0000000..50e4aa7 --- /dev/null +++ b/archetypes/collections/desktop/thumbnailers.nix @@ -0,0 +1,23 @@ +{ pkgs, lib, config, ... }: let + cfg = config._archetypes.collections.desktop.thumbnailers; +in { + options._archetypes.collections.desktop.thumbnailers = { + enable = lib.mkEnableOption "install thumbnailers for graphical file managers"; + }; + + config = lib.mkIf cfg.enable { + # https://wiki.nixos.org/wiki/Thumbnails + # Thumbnailers created in /run/current-system/sw/share/thumbnailers + environment.systemPackages = with pkgs; [ + # Video + ffmpegthumbnailer + # Images + gdk-pixbuf + # HEIF images + libheif + libheif.out + # RAW images + nufraw-thumbnailer + ]; + }; +} |