feat: xdg as a separate file
parent
08d3d3f8d3
commit
ff5624d98c
|
@ -38,6 +38,7 @@
|
|||
./tmux
|
||||
./vitetris
|
||||
./wallets
|
||||
./xdg
|
||||
./zsh
|
||||
];
|
||||
|
||||
|
@ -178,37 +179,6 @@
|
|||
|
||||
services.network-manager-applet.enable = true;
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
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";
|
||||
};
|
||||
associations.added = {
|
||||
"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";
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
"autoconnect" = [ "qemu:///system" ];
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
{ 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";
|
||||
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue