🧹 Moved almost all files to /modules. Moved some code to separate files
This commit is contained in:
23
home-manager/default-applications.nix
Normal file
23
home-manager/default-applications.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications =
|
||||
let
|
||||
browser = "io.github.zen_browser.zen.desktop";
|
||||
imageViewer = "org.gnome.Loupe.desktop";
|
||||
in
|
||||
{
|
||||
"text/html" = browser;
|
||||
"x-scheme-handler/http" = browser;
|
||||
"x-scheme-handler/https" = browser;
|
||||
"x-scheme-handler/about" = browser;
|
||||
"x-scheme-handler/unknown" = browser;
|
||||
"image/jpg" = imageViewer;
|
||||
"image/jpeg" = imageViewer;
|
||||
"image/png" = imageViewer;
|
||||
"image/gif" = imageViewer;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user