summary refs log tree commit diff stats
path: root/hm/xdg
diff options
context:
space:
mode:
Diffstat (limited to 'hm/xdg')
-rw-r--r--hm/xdg/default.nix18
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";
+      };
+    };
+  };
+}