21 lines
536 B
Nix
21 lines
536 B
Nix
{ config, ... }:
|
|
{
|
|
xdg.mimeApps = {
|
|
enable = config.xdg.enable;
|
|
defaultApplications = {
|
|
# Media
|
|
"image/*" = [ "imv.desktop" ];
|
|
"image/gif" = [ "mpv.desktop" ];
|
|
"video/*" = [ "mpv.desktop" ];
|
|
|
|
# Apps
|
|
"inode/directory" = [ "pcmanfm-qt.desktop" ];
|
|
"text/plain" = [ "nvim.desktop" ];
|
|
|
|
# Browser
|
|
"application/x-mswinurl" = [ "librewolf.desktop" ];
|
|
"x-scheme-handler/http" = [ "librewolf.desktop" ];
|
|
"x-scheme-handler/https" = [ "librewolf.desktop" ];
|
|
};
|
|
};
|
|
}
|