Define some default applications
This commit is contained in:
parent
9c0da334bf
commit
d167eed677
2 changed files with 26 additions and 0 deletions
25
configurations/mime.nix
Normal file
25
configurations/mime.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
"image/png" = [ "org.kde.okular.desktop" ];
|
||||||
|
"image/jpg" = [ "org.kde.okular.desktop" ];
|
||||||
|
"image/jpeg" = [ "org.kde.okular.desktop" ];
|
||||||
|
"application/pdf" = [ "org.kde.okular.desktop" ];
|
||||||
|
|
||||||
|
"text/html"= [ "firefox.desktop" ];
|
||||||
|
"x-scheme-handler/about" = [ "firefox.desktop" ];
|
||||||
|
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||||||
|
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||||||
|
"x-scheme-handler/unknown" = [ "firefox.desktop" ];
|
||||||
|
|
||||||
|
"x-scheme-handler/mailto" = [ "thunderbird.desktop" ];
|
||||||
|
|
||||||
|
"x-scheme-handler/msteams" = [ "teams.desktop" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -13,6 +13,7 @@
|
||||||
../configurations/joplin.nix
|
../configurations/joplin.nix
|
||||||
../configurations/kernel.nix
|
../configurations/kernel.nix
|
||||||
../configurations/kitty.nix
|
../configurations/kitty.nix
|
||||||
|
../configurations/mime.nix
|
||||||
../configurations/mounts.nix
|
../configurations/mounts.nix
|
||||||
../configurations/mumble.nix
|
../configurations/mumble.nix
|
||||||
../configurations/networkmanager.nix
|
../configurations/networkmanager.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue