thumbnailers
This commit is contained in:
parent
f0e2421262
commit
2089bbee90
@ -102,8 +102,31 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
environment.etc = {
|
||||
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||
environment = {
|
||||
pathsToLink = [ "share/thumbnailers" ];
|
||||
systemPackages =
|
||||
builtins.attrValues {
|
||||
# thumbnail for heif files & videos
|
||||
inherit (pkgs)
|
||||
libheif
|
||||
ffmpegthumbnailer
|
||||
bign-handheld-thumbnailer
|
||||
gnome-epub-thumbnailer
|
||||
;
|
||||
inherit (pkgs.libheif) out;
|
||||
}
|
||||
++ [
|
||||
(pkgs.writeTextFile {
|
||||
name = "krita-thumbnailer";
|
||||
destination = "/share/thumbnailers/kra.thumbnailer";
|
||||
text = ''
|
||||
[Thumbnailer Entry]
|
||||
Exec=sh -c "${pkgs.unzip}/bin/unzip -p %i preview.png > %o"
|
||||
MimeType=application/x-krita;
|
||||
'';
|
||||
})
|
||||
];
|
||||
etc."wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||
bluez_monitor.properties = {
|
||||
["bluez5.enable-sbc-xq"] = true,
|
||||
["bluez5.enable-msbc"] = true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user