MyNixOS website logo
option

xdg.mimeApps.associations.removed

Removes associations of applications with mimetypes, as if the .desktop file was not listing this mimetype in the first place.

Keys ending in * are treated as prefix globs. They are expanded against all MIME types known to the shared-mime-info database before being written to mimeapps.list.

Declarations
Type
attribute set of ((list of string) or ((list of string) or string) convertible to it)
Default
{ }
Example
{
  mimetype1 = "foo5.desktop";
  "text/*" = "foo6.desktop";
}