diff --git a/gnome.nix b/gnome.nix index 4d03503..7fbe0e7 100644 --- a/gnome.nix +++ b/gnome.nix @@ -30,6 +30,7 @@ gnome-tour yelp gnome-music + totem ; }; qt.enable = true; diff --git a/hosts/workstation/configuration.nix b/hosts/workstation/configuration.nix index d2601e9..7b17f00 100644 --- a/hosts/workstation/configuration.nix +++ b/hosts/workstation/configuration.nix @@ -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,