MyNixOS website logo
option

xdg.mimeApps.defaultApplications

The default application to be used for a given mimetype. This is, for instance, the one that will be started when double-clicking on a file in a file manager. If the application is no longer installed, the next application in the list is attempted, and so on.

Declarations
Type
attribute set of ((list of string) or ((list of string) or string) convertible to it)
Default
{ }
Example
{
  "mimetype1" = [ "default1.desktop" "default2.desktop" ];
}