a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
22 lines
792 B
Nix
22 lines
792 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
xdg.mimeApps = rec {
|
|
enable = true;
|
|
defaultApplications = {
|
|
"text/html" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/ftp" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
|
|
"application/x-extension-htm" = [ "firefox.desktop" ];
|
|
"application/x-extension-html" = [ "firefox.desktop" ];
|
|
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
|
"application/xhtml+xml" = [ "firefox.desktop" ];
|
|
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
|
"application/x-extension-xht" = [ "firefox.desktop" ];
|
|
};
|
|
associations.added = defaultApplications;
|
|
};
|
|
}
|