✨ Moved common home-manager config to shared/home-manager
This commit is contained in:
24
shared/home-manager/default-applications.nix
Normal file
24
shared/home-manager/default-applications.nix
Normal file
@ -0,0 +1,24 @@
|
||||
# TODO more defaults
|
||||
{
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications =
|
||||
let
|
||||
browser = "zen.desktop";
|
||||
imageViewer = "imv.desktop";
|
||||
pdfReader = "org.gnome.Papers.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;
|
||||
"application/pdf" = pdfReader;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user