nix-config/home/xdg/default.nix

44 lines
1.4 KiB
Nix
Raw Permalink Normal View History

2022-03-15 08:20:18 +01:00
{ config, pkgs, ... }:
{
xdg.mimeApps = {
enable = true;
# desktopEntries = {};
defaultApplications = {
"x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = " firefox.desktop";
"x-scheme-handler/chrome" = " firefox.desktop";
"text/html" = "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";
"x-scheme-handler/tg" = "userapp-Telegram Desktop.desktop";
"text/english" = "nvim.desktop";
"text/plain" = "nvim.desktop";
"text/x-makefile" = "nvim.desktop";
"text/x-c++hdr" = "nvim.desktop";
"text/x-c++src" = "nvim.desktop";
"text/x-chdr" = "nvim.desktop";
"text/x-csrc" = "nvim.desktop";
"text/x-java" = "nvim.desktop";
"text/x-moc" = "nvim.desktop";
"text/x-pascal" = "nvim.desktop";
"text/x-tcl" = "nvim.desktop";
"text/x-tex" = "nvim.desktop";
"application/x-shellscript" = "nvim.desktop";
"text/x-c" = "nvim.desktop";
"text/x-c++" = "nvim.desktop";
};
associations.added = {
"x-scheme-handler/tg" = "userapp-Telegram Desktop.desktop";
};
};
}