xdg.mimeApps.defaultApplicationPackages

Home-Manager option

list of package

Packages whose .desktop files will be used to establish default mimetype associations. These associations are appended to the associations in xdg.mimeApps.defaultApplications. If multiple packages associate with the same mime type, then the priority among them is determined by their order in the list. Passing a large number of packages (for example, the system package set or all of home.packages) will significantly slow down builds. Prefer listing only the specific packages whose MIME associations you want to set as defaults.

type: list of package
Default
[ ]
Example
[ <derivation eog-50.2> <derivation evince-48.4> ]
declared in: <home-manager/modules/misc/xdg/mime-apps.nix>source unavailable