diff options
Diffstat (limited to 'hm/xdg/default.nix')
-rw-r--r-- | hm/xdg/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hm/xdg/default.nix b/hm/xdg/default.nix new file mode 100644 index 0000000..9b682d5 --- /dev/null +++ b/hm/xdg/default.nix @@ -0,0 +1,18 @@ +{...}: { + xdg = { + enable = true; + mime.enable = true; + mimeApps = { + enable = true; + defaultApplications = { + "application/pdf" = "okularApplication_pdf.desktop"; + "x-scheme-handler/http" = "firefox.desktop"; + "x-scheme-handler/https" = "firefox.desktop"; + "x-scheme-handler/unknown" = "firefox.desktop"; + "x-scheme-handler/sgnl" = "signal-desktop.desktop"; + "x-scheme-handler/signalcaptcha" = "signal-desktop.desktop"; + "x-scheme-handler/element" = "element-desktop.desktop"; + }; + }; + }; +} |