Move HM modules
This commit is contained in:
parent
5db76d0fed
commit
3cf0004b78
110 changed files with 403 additions and 564 deletions
15
modules/hm/heif.nix
Normal file
15
modules/hm/heif.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let thumbnailer = "${pkgs.libheif.bin}/bin/heif-thumbnailer";
|
||||
in {
|
||||
# home.packages = [
|
||||
# pkgs.libheif.bin
|
||||
# ];
|
||||
|
||||
xdg.dataFile."thumbnailers/heic.thumbnailer".text = ''
|
||||
[Thumbnailer Entry]
|
||||
TryExec=${thumbnailer}
|
||||
Exec=${thumbnailer} -s %s %i %o
|
||||
MimeType=image/heif;image/heic
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue