added mimetypes
This commit is contained in:
parent
9cd68e154c
commit
5e49b6a324
3 changed files with 17 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
./autoupdate.nix
|
||||
./garbage-collect.nix
|
||||
./keyd.nix
|
||||
./mimetype.nix
|
||||
./optimise.nix
|
||||
];
|
||||
|
||||
|
|
15
hosts/common/mimetype.nix
Normal file
15
hosts/common/mimetype.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
{
|
||||
|
||||
xdg.mime.defaultApplications = {
|
||||
"application/pdf" = "zen.desktop";
|
||||
"text/html" = "zen.desktop";
|
||||
"x-scheme-handler/http" = "zen.desktop";
|
||||
"x-scheme-handler/https" = "zen.desktop";
|
||||
"x-scheme-handler/about" = "zen.desktop";
|
||||
"x-scheme-handler/unknown" = "zen.desktop";
|
||||
};
|
||||
|
||||
environment.sessionVariables.DEFAULT_BROWSER = "zen";
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue